Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarScriptPane.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/frontend/StarScriptPane.cpp')
-rw-r--r--source/frontend/StarScriptPane.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/frontend/StarScriptPane.cpp b/source/frontend/StarScriptPane.cpp
index 3de3c26..2cd74a5 100644
--- a/source/frontend/StarScriptPane.cpp
+++ b/source/frontend/StarScriptPane.cpp
@@ -47,11 +47,11 @@ void ScriptPane::dismissed() {
m_script.removeCallbacks("world");
}
-void ScriptPane::tick() {
+void ScriptPane::tick(float dt) {
if (m_sourceEntityId != NullEntityId && !m_client->worldClient()->playerCanReachEntity(m_sourceEntityId))
dismiss();
- BaseScriptPane::tick();
+ BaseScriptPane::tick(dt);
}
PanePtr ScriptPane::createTooltip(Vec2I const& screenPosition) {