Ranking
Original Post
run_frames and enter_freeze loop
Hi Toribash Team,

I'm developing a Lua script for Toribash have a look here: http://forum.toribash.com/showthread.php?t=484109

I posted on Get your Lua question answered here section and have been advice to post here.

The problem i encountered is that when i use a loop between enter_freeze hook and run_frames(x) then each round after the first round it is running run_frames(x+1) instead of run_frames(x) that could be corrected with x=x-1 but when x=1 => x=x-1=0 it is then suddenly running run_frames(x) instead of run_frames(x+1).

Let me be aware of any solution....