Lua-API: onSuddenDeath hook
authorsheepluva
Sat, 10 Oct 2015 18:18:26 +0200
changeset 11204 3ff617fccc67
parent 11203 2f4d0a387a02
child 11236 413714b915d2
Lua-API: onSuddenDeath hook
hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Thu Oct 08 10:48:16 2015 -0400
+++ b/hedgewars/uGears.pas	Sat Oct 10 18:18:26 2015 +0200
@@ -320,6 +320,7 @@
                     Ammoz[amTardis].Probability:= 0;
                     end;
                 AddCaption(trmsg[sidSuddenDeath], cWhiteColor, capgrpGameState);
+                ScriptCall('onSuddenDeath');
                 playSound(sndSuddenDeath);
                 StopMusic;
                 if SDMusicFN <> '' then PlayMusic