# HG changeset patch # User Wuzzy # Date 1546913001 -3600 # Node ID 6446ddf0c0ba04a326265cd840ea3817aa8db73b # Parent 0fc9560be9cc8e8e503111a924743106c68bdebf Suppress “ is gone message on game end diff -r 0fc9560be9cc -r 6446ddf0c0ba ChangeLog.txt --- 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 “ is gone.” message at end of game Lua API: + New call: SaveMissionVar(varname, value): Save value to mission variable (variable for non-campaign mission) diff -r 0fc9560be9cc -r 6446ddf0c0ba hedgewars/uTeams.pas --- 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;