Fixed time script bug.

This commit is contained in:
Steve 2016-03-16 06:53:30 +00:00
parent 604526611a
commit 0332e2fe20
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
}