fix steamid lose

This commit is contained in:
Huoji's
2023-10-14 17:39:45 +08:00
parent e6a7120c8a
commit b314a907a6

View File

@@ -963,6 +963,8 @@ auto initFunciton(lua_State* luaVm) -> void {
lua_register(luaVm, "luaApi_GetConVarString", luaApi_GetConVarString); lua_register(luaVm, "luaApi_GetConVarString", luaApi_GetConVarString);
lua_register(luaVm, "luaApi_GetConVarInt", luaApi_GetConVarInt); lua_register(luaVm, "luaApi_GetConVarInt", luaApi_GetConVarInt);
lua_register(luaVm, "luaApi_GetPlayerSteamId", luaApi_GetPlayerSteamId);
// lua_register(luaVm, "luaApi_TeleportPlayer", luaApi_TeleportPlayer); // lua_register(luaVm, "luaApi_TeleportPlayer", luaApi_TeleportPlayer);
luabridge::getGlobalNamespace(luaVm) luabridge::getGlobalNamespace(luaVm)