Frenzy: Hide slot key info in Touch (there are no slot keys in Touch)
authorWuzzy <Wuzzy2@mail.ru>
Mon, 10 Dec 2018 21:16:05 +0100
changeset 14418 04231f066ada
parent 14417 70fe783d0548
child 14419 6843c4551cde
Frenzy: Hide slot key info in Touch (there are no slot keys in Touch)
share/hedgewars/Data/Scripts/Multiplayer/Frenzy.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Frenzy.lua	Mon Dec 10 21:06:37 2018 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Frenzy.lua	Mon Dec 10 21:16:05 2018 +0100
@@ -26,10 +26,13 @@
 	ruleSet = "" ..
 	loc("RULES:") .. " |" ..
 	loc("Each turn is only ONE SECOND!") .. "|" ..
-	loc("Use your ready time to think.") .. "|" ..
-	loc("Slot keys save time! (F1-F10 by default)") .. "| |"
-	for i=1, #frenzyAmmos do
-		ruleSet = ruleSet .. string.format(loc("Slot %d: %s"), i, GetAmmoName(frenzyAmmos[i])) .. "|"
+	loc("Use your ready time to think.")
+	if INTERFACE ~= "touch" then
+		ruleSet = ruleSet .. "|" ..
+		loc("Slot keys save time! (F1-F10 by default)") .. "| |"
+		for i=1, #frenzyAmmos do
+			ruleSet = ruleSet .. string.format(loc("Slot %d: %s"), i, GetAmmoName(frenzyAmmos[i])) .. "|"
+		end
 	end
 
 	ShowMission(loc("FRENZY"),