Full trigger creation

This commit is contained in:
Kayne Ruse
2015-03-04 02:21:56 +11:00
parent bd68af5875
commit 18a7143926
7 changed files with 61 additions and 57 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ static int setOnTick(lua_State* L) {
static int getOnTick(lua_State* L) {
RoomData* room = reinterpret_cast<RoomData*>(lua_touserdata(L, 1));
lua_rawgeti(lua, LUA_REGISTRYINDEX, room->GetTickReference());
lua_rawgeti(L, LUA_REGISTRYINDEX, room->GetTickReference());
return 1;
}