From 4967c911ccc4744d43ca6358c9b1acfff7471eb8 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+AgentXLP@users.noreply.github.com> Date: Sat, 29 Jun 2024 16:39:27 -0400 Subject: [PATCH] This is dangerous, apparently --- autogen/lua_definitions/manual.lua | 4 ---- src/pc/lua/smlua_cobject.c | 2 -- 2 files changed, 6 deletions(-) diff --git a/autogen/lua_definitions/manual.lua b/autogen/lua_definitions/manual.lua index 269055757..67caa7858 100644 --- a/autogen/lua_definitions/manual.lua +++ b/autogen/lua_definitions/manual.lua @@ -87,10 +87,6 @@ gServerSettings = {} --- Struct containing the settings for Nametags gNametagsSettings = {} ---- @type Area ---- Struct containing the current area -gCurrentArea = {} - --- @type Camera --- Struct contaning camera fields --- - This camera is the same as `gMarioStates[i].area.camera` or `gCurrentArea.camera` diff --git a/src/pc/lua/smlua_cobject.c b/src/pc/lua/smlua_cobject.c index dfa66837e..e0b64f52e 100644 --- a/src/pc/lua/smlua_cobject.c +++ b/src/pc/lua/smlua_cobject.c @@ -641,8 +641,6 @@ void smlua_cobject_init_globals(void) { EXPOSE_GLOBAL(LOT_NAMETAGSSETTINGS, gNametagsSettings); - EXPOSE_GLOBAL(LOT_AREA, gCurrentArea); - EXPOSE_GLOBAL(LOT_CAMERA, gCamera); }