diff --git a/src/gui/game/GameController.cpp b/src/gui/game/GameController.cpp index 170648b30..a5211f441 100644 --- a/src/gui/game/GameController.cpp +++ b/src/gui/game/GameController.cpp @@ -1530,6 +1530,9 @@ void GameController::ClearSim() String GameController::ElementResolve(int type, int ctype) { + // "NONE" should never be displayed in the HUD + if (!type) + return ""; if (gameModel && gameModel->GetSimulation()) { return gameModel->GetSimulation()->ElementResolve(type, ctype);