mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 22:39:18 +02:00
don't update rain during pause
This commit is contained in:
@@ -111,7 +111,7 @@ basic_precipitation::init() {
|
||||
void
|
||||
basic_precipitation::update() {
|
||||
|
||||
auto const timedelta { static_cast<float>( ( DebugModeFlag ? Timer::GetDeltaTime() : Timer::GetDeltaTime() ) ) };
|
||||
auto const timedelta = Timer::GetDeltaTime();
|
||||
|
||||
if( timedelta == 0.0 ) { return; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user