Fixed time script bug.
This commit is contained in:
parent
604526611a
commit
0332e2fe20
|
@ -164,7 +164,7 @@ static void doBattle(void)
|
||||||
|
|
||||||
if (battle.stats[STAT_TIME]++ % FPS == 0)
|
if (battle.stats[STAT_TIME]++ % FPS == 0)
|
||||||
{
|
{
|
||||||
runScriptFunction("TIME %d", battle.stats[STAT_TIME]);
|
runScriptFunction("TIME %d", battle.stats[STAT_TIME] / FPS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue