Fix "NONE" showing in HUD in many cases
This commit is contained in:
parent
4e2e054c50
commit
0e530dc0ca
@ -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);
|
||||
|
Reference in New Issue
Block a user