mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-01 12:02:40 +02:00
Prevent accidental infinite loops in lua
Also fix glitch when step_functions[0] is unregistered but others aren't
This commit is contained in:
@@ -62,6 +62,7 @@ int luacon_particle_getproperty(char * key, int * format);
|
||||
int luacon_transition_getproperty(char * key, int * format);
|
||||
int luacon_element_getproperty(char * key, int * format, unsigned int * modified_stuff);
|
||||
int process_command_lua(pixel *vid_buf, char *console, char *console_error);
|
||||
void lua_hook(lua_State *L, lua_Debug *ar);
|
||||
|
||||
int getPartIndex_curIdx;
|
||||
|
||||
|
Reference in New Issue
Block a user