aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 25e3cd3..a80dfe3 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -76,6 +76,9 @@ int Engine::init(void)
systems.system<UISystem>().get()));
script->addToGameNamespace("dialogClear",
[this] { events.emit<HideDialog>(); });
+ script->addToGameNamespace("uiToWorldCoord",
+ bindInstance(&RenderSystem::uiToWorldCoord,
+ systems.system<RenderSystem>().get()));
script->init();