mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-24 09:24:26 +03:00
Ehem, fix build break in web from last commit. Hard to test a single commit against both native/web, because switching targets clears the entire build cache...
This commit is contained in:
parent
1ae4c6e41f
commit
e4707ca223
@ -240,10 +240,10 @@ mod loader {
|
|||||||
use abstutil::Timer;
|
use abstutil::Timer;
|
||||||
use geom::Duration;
|
use geom::Duration;
|
||||||
use map_model::Map;
|
use map_model::Map;
|
||||||
|
use sim::Sim;
|
||||||
use widgetry::UpdateType;
|
use widgetry::UpdateType;
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::render::DrawMap;
|
|
||||||
|
|
||||||
// Instead of blockingly reading a file within ctx.loading_screen, on the web have to
|
// Instead of blockingly reading a file within ctx.loading_screen, on the web have to
|
||||||
// asynchronously make an HTTP request and keep "polling" for completion in a way that's
|
// asynchronously make an HTTP request and keep "polling" for completion in a way that's
|
||||||
|
Loading…
Reference in New Issue
Block a user