--- a/ChangeLog.txt Sun Jan 06 02:32:27 2019 +0100
+++ b/ChangeLog.txt Tue Jan 08 03:03:21 2019 +0100
@@ -23,6 +23,7 @@
* Hide most HUD elements in cinematic mode
* Don't show "F1", "F2", etc. in ammo menu if these aren't the actual slot keys
* Fix force-locked schemes getting unlocked when changing map types
+ * Suppress “<team> is gone.” message at end of game
Lua API:
+ New call: SaveMissionVar(varname, value): Save value to mission variable (variable for non-campaign mission)
--- a/hedgewars/uTeams.pas Sun Jan 06 02:32:27 2019 +0100
+++ b/hedgewars/uTeams.pas Tue Jan 08 03:03:21 2019 +0100
@@ -922,7 +922,8 @@
begin
if (not hasGone) and isGoneFlagPendingToBeSet then
begin
- AddChatString(#7 + Format('* '+shortstring(trmsg[sidTeamGone]), TeamName));
+ if (not TeamsGameOver) then
+ AddChatString(#7 + Format('* '+shortstring(trmsg[sidTeamGone]), TeamName));
if not CurrentTeam^.ExtDriven then SendIPC(_S'f' + s);
hasGone:= true;
skippedTurns:= 0;