diff --git a/src/battle/battle.c b/src/battle/battle.c index bde30ff..a1c58ba 100644 --- a/src/battle/battle.c +++ b/src/battle/battle.c @@ -164,7 +164,7 @@ static void doBattle(void) if (battle.stats[STAT_TIME]++ % FPS == 0) { - runScriptFunction("TIME %d", battle.stats[STAT_TIME]); + runScriptFunction("TIME %d", battle.stats[STAT_TIME] / FPS); } } }