mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 23:49:03 +02:00
- bugfix for saving / loading booleans in a lua table
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user