Skip to content

Commit 36c81f4

Browse files
CrosRoad95Justus H
authored andcommitted
toggleObjectRespawn should be toggleRespawn (#159)
1 parent a48e21e commit 36c81f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Client/mods/deathmatch/logic/luadefs/CLuaObjectDefs.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void CLuaObjectDefs::AddClass ( lua_State* luaVM )
4444
lua_classfunction ( luaVM, "stop", "stopObject" );
4545
lua_classfunction ( luaVM, "break", "breakObject" );
4646
lua_classfunction ( luaVM, "respawn", "respawnObject" );
47-
lua_classfunction ( luaVM, "toggleObjectRespawn", "toggleObjectRespawn" );
47+
lua_classfunction ( luaVM, "toggleRespawn", "toggleObjectRespawn" );
4848

4949
lua_classfunction ( luaVM, "getScale", "getObjectScale" );
5050
lua_classfunction ( luaVM, "isBreakable", "isObjectBreakable" );
@@ -466,4 +466,4 @@ int CLuaObjectDefs::SetObjectMass ( lua_State* luaVM )
466466

467467
lua_pushboolean ( luaVM, false );
468468
return 1;
469-
}
469+
}

0 commit comments

Comments
 (0)