Stopped syncing time

Former-commit-id: 8453a8f1c2361b1e6b5bb7f11470c33f2c0f910b
This commit is contained in:
Joshua Barretto 2019-05-17 00:26:18 +01:00
parent dfb9e93052
commit 3940e73b31

View File

@ -114,9 +114,9 @@ impl State {
// Register synced resources used by the ECS // Register synced resources used by the ECS
ecs.add_resource_synced(TimeOfDay(0.0)); ecs.add_resource_synced(TimeOfDay(0.0));
ecs.add_resource_synced(Time(0.0));
// Register unsynced resources used by the ECS // Register unsynced resources used by the ECS
ecs.add_resource(Time(0.0));
ecs.add_resource(DeltaTime(0.0)); ecs.add_resource(DeltaTime(0.0));
ecs.add_resource(TerrainMap::new().unwrap()); ecs.add_resource(TerrainMap::new().unwrap());
} }