summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/object/robotmain.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp
index 90faceb..6ebd34c 100644
--- a/src/object/robotmain.cpp
+++ b/src/object/robotmain.cpp
@@ -1416,6 +1416,11 @@ bool CRobotMain::ProcessEvent(Event &event)
m_interface->EventProcess(event);
if (m_displayInfo != nullptr) // current edition?
m_displayInfo->EventProcess(event);
+
+ if (m_phase == PHASE_SIMUL)
+ {
+ UpdateInfoText();
+ }
return EventFrame(event);
}
@@ -1500,8 +1505,6 @@ bool CRobotMain::ProcessEvent(Event &event)
// Simulation phase of the game
if (m_phase == PHASE_SIMUL)
{
- UpdateInfoText();
-
if (!m_editFull)
m_camera->EventProcess(event);