share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua
changeset 14845 f16868b40f2d
parent 14844 358d81e29a88
child 14846 cb5ffe17fdf9
--- a/share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua	Sat Apr 20 16:46:07 2019 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua	Sat Apr 20 16:53:58 2019 +0200
@@ -1049,7 +1049,7 @@
 		SI.startRadShots = math.floor(tonumber(params["pings"]))
 	end
 	if params["shield"] ~= nil then
-		SI.startShield = math.floor(tonumber(params["shield"]))
+		SI.startShield = math.min(250-80, math.floor(tonumber(params["shield"])))
 	end
 
 	if params["barrelbonus"] ~= nil then