move weather back to gfx & add world:client/environment.json file

This commit is contained in:
MihailRis 2025-03-09 22:50:45 +03:00
parent 7a86cbdd60
commit db620010a3
11 changed files with 68 additions and 37 deletions

View file

@ -69,8 +69,6 @@ LevelController::LevelController(
}
void LevelController::update(float delta, bool pause) {
level->getWorld()->getInfo().weather.update(delta);
for (const auto& [_, player] : *level->players) {
if (player->isSuspended()) {
continue;