mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-02 12:32:40 +02:00
Ooooooohh
This commit is contained in:
@@ -1571,7 +1571,7 @@ int luatpt_register_step(lua_State* l)
|
|||||||
lua_rawget(l, LUA_REGISTRYINDEX);
|
lua_rawget(l, LUA_REGISTRYINDEX);
|
||||||
if(!lua_istable(l, -1))
|
if(!lua_istable(l, -1))
|
||||||
{
|
{
|
||||||
lua_pop(l, -1);
|
lua_pop(l, 1);
|
||||||
lua_newtable(l);
|
lua_newtable(l);
|
||||||
lua_pushstring(l, "stepfunctions");
|
lua_pushstring(l, "stepfunctions");
|
||||||
lua_pushvalue(l, -2);
|
lua_pushvalue(l, -2);
|
||||||
|
Reference in New Issue
Block a user