- bugfix for saving / loading booleans in a lua table

This commit is contained in:
SoftCoder
2013-12-30 09:28:25 -08:00
parent 97d11a9cfd
commit 5c90b9148c
7 changed files with 166 additions and 142 deletions

View File

@@ -47,6 +47,7 @@ private:
string sandboxCode;
static bool disableSandbox;
static bool debugModeEnabled;
void DumpGlobals();
@@ -54,6 +55,7 @@ public:
LuaScript();
~LuaScript();
static void setDebugModeEnabled(bool value) { debugModeEnabled = value; }
static void setDisableSandbox(bool value) { disableSandbox = value; }
void loadCode(string code, string name);