dayh=1 if (_dayn > _settings_game.game_creation.slow_time_factor){ _dayn = 1; _date++; OnNewDayS(); } other variant dayh=0 if (_dayn == _settings_game.game_creation.slow_time_factor){ _dayn = 0; _date++; OnNewDayS(); } both of them will be true after daym incremental steps so both would execute at same time?? but its not the case?/ what i am missing here?? this 2 are not equal ??