# HG changeset patch # User Wuzzy # Date 1544472965 -3600 # Node ID 04231f066adabbcdb039491f15ec671bfee4f7a0 # Parent 70fe783d05486a97d8baf7a8950ea517af1cf7bd Frenzy: Hide slot key info in Touch (there are no slot keys in Touch) diff -r 70fe783d0548 -r 04231f066ada 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"),