diff options
Diffstat (limited to 'src/world.cpp')
-rw-r--r-- | src/world.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/world.cpp b/src/world.cpp index 9f57b87..6a8dad8 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -353,6 +353,7 @@ void WorldSystem::loader(void) else if (tname == "Wander") { auto script = abcd->GetText(); entity.assign<Wander>(script != nullptr ? script : ""); + //entity.component<Wander>()->script.addFunction("getpos", PlayerSystem::getPosition); } else if (tname == "Hop") entity.assign<Hop>(); else if (tname == "Health") |