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 e3aca3e..f52391f 100644
--- a/src/script.cpp
+++ b/src/script.cpp
@@ -90,7 +90,7 @@ void ScriptSystem::scriptExport(void)
std::function<sol::table(sol::table)> entitySpawn =
[this](sol::table t){ return spawn(t);};
- std::function<unsigned int(sol::object)> worldRegister =
+ std::function<World* (sol::object)> worldRegister =
[this](sol::object t){ return worldSystem.addWorld(t); };
lua.new_usertype<Position>("Position",