Fixed highlighting items when highlighting a wire in a connection panel

This commit is contained in:
Regalis
2016-11-12 18:26:47 +02:00
parent 7fa660d38e
commit 0353732e7e
5 changed files with 30 additions and 12 deletions
+5
View File
@@ -115,6 +115,11 @@ namespace Barotrauma
}
#endif
foreach (MapEntity e in MapEntity.mapEntityList)
{
e.IsHighlighted = false;
}
if (GameMain.GameSession != null) GameMain.GameSession.Update((float)deltaTime);
if (Level.Loaded != null) Level.Loaded.Update((float)deltaTime);