hedgewars/GSHandlers.inc
changeset 324 f4c109c82a0c
parent 306 7b61834edcf6
child 342 0a21586b3f1d
equal deleted inserted replaced
323:ea947f2c3d2f 324:f4c109c82a0c
   342    gtATFinishGame: begin
   342    gtATFinishGame: begin
   343                    AllInactive:= false;
   343                    AllInactive:= false;
   344                    if Gear.Timer = 0 then
   344                    if Gear.Timer = 0 then
   345                       begin
   345                       begin
   346                       SendIPC('N');
   346                       SendIPC('N');
       
   347                       SendIPC('q');
   347                       GameState:= gsExit
   348                       GameState:= gsExit
   348                       end
   349                       end
   349                    end;
   350                    end;
   350      end;
   351      end;
   351 if Gear.Timer = 0 then DeleteGear(Gear)
   352 if Gear.Timer = 0 then DeleteGear(Gear)