also update health bars when one joins a netgame
authorkoda
Mon, 01 Nov 2010 02:47:30 +0100
changeset 4075 f7412772f85d
parent 4074 b73fd6ca06dd
child 4076 7ca17cb94992
also update health bars when one joins a netgame
hedgewars/uGame.pas
--- a/hedgewars/uGame.pas	Sun Oct 31 21:17:17 2010 -0400
+++ b/hedgewars/uGame.pas	Mon Nov 01 02:47:30 2010 +0100
@@ -55,7 +55,11 @@
        NetGetNextCmd;
        if isInLag then
           case GameType of
-                gmtNet: break;
+                gmtNet: begin
+                        // just update the health bars
+                        AddVisualGear(0, 0, vgtTeamHealthSorter);
+                        break;
+                        end;
                gmtDemo: begin
                         GameState:= gsExit;
                         exit