diff options
Diffstat (limited to 'src/control/MapContext.cpp')
-rw-r--r-- | src/control/MapContext.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/control/MapContext.cpp b/src/control/MapContext.cpp index 8065b04..246ee96 100644 --- a/src/control/MapContext.cpp +++ b/src/control/MapContext.cpp @@ -87,8 +87,7 @@ void MapContext::interact(uint64_t time) { if (interactScript.first.empty()) return; - Model::ScriptNumber scriptTime(time); - scriptContext->run(interactScript.first, interactScript.second, nullptr, &scriptTime); + scriptContext->run(interactScript.first, interactScript.second, nullptr, time); } void MapContext::keyPressed(uint16_t key, uint64_t time) { |