hedgewars/uScript.pas
changeset 14541 181509fe1ae8
parent 14527 d0441c7e9000
child 14542 ce40351e0690
--- a/hedgewars/uScript.pas	Thu Jan 10 00:41:31 2019 +0100
+++ b/hedgewars/uScript.pas	Thu Jan 10 02:50:01 2019 +0100
@@ -2347,7 +2347,7 @@
         ParseCommand('fort ' + MissionTeam^.FortName, true, true);
         ParseCommand('voicepack ' + MissionTeam^.Voicepack^.name, true, true);
         ParseCommand('flag ' + MissionTeam^.Flag, true, true);
-        CurrentTeam^.Binds:= DefaultBinds;
+        CurrentTeam^.Binds:= MissionTeam^.Binds;
         // push real team name and team index
         lua_pushstring(L, str2pchar(CurrentTeam^.TeamName));
         lua_pushnumber(L, TeamsCount - 1);