aboutsummaryrefslogtreecommitdiffstats
path: root/src/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script.cpp')
-rw-r--r--src/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.cpp b/src/script.cpp
index 8109457..3c0d0b2 100644
--- a/src/script.cpp
+++ b/src/script.cpp
@@ -145,7 +145,7 @@ void ScriptSystem::scriptExport(void)
sol::table ScriptSystem::spawn(sol::object param)
{
- sol::table* toRet; // "Entitiy" table to be returned
+ sol::table* toRet = NULL; // "Entitiy" table to be returned
if (param.get_type() == sol::type::table) {
sol::table tab = param; // Cast the generic parameter to a table