fix execNextFrame (#56)

This commit is contained in:
Nicolás Badano 2015-01-18 15:26:26 -03:00
parent d299331f80
commit d532caf1a0

View File

@ -12,13 +12,13 @@
*/
#include "script_component.hpp"
EXPLODE_4_PVT(_this,_func,_params,_delay,_interval);
EXPLODE_2_PVT(_this,_func,_params);
[
{
EXPLODE_2_PVT(_this,_params,_pfhId);
EXPLODE_2_PVT(_params,_delayedExecParams,_startFrame);
EXPLODE_3_PVT(_delayedExecParams,_func,_funcParams);
EXPLODE_2_PVT(_delayedExecParams,_func,_funcParams);
// Exit if we are still on the same frame
if (diag_frameno == _startFrame) exitWith {};