diff -r 8b971d8944d6 -r edeae7661dca share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua Fri May 12 16:53:29 2017 +0200 +++ b/share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua Fri May 12 17:15:45 2017 +0200 @@ -904,7 +904,7 @@ then AddAmmo(CurrentHedgehog,amSwitch,GetAmmoCount(CurrentHedgehog, amSwitch)+1) - ParseCommand("setweap " .. string.char(amSwitch)) + SetWeapon(amSwitch) GLOBAL_TEMP_VALUE=87 end end @@ -1228,7 +1228,7 @@ function onSlot(slot) if(GLOBAL_TEAM_CONTINENT[GetHogTeamName(CurrentHedgehog)]==0) then - ParseCommand("setweap " .. string.char(amSkip)) + SetWeapon(amSkip) end end