share/hedgewars/Data/Missions/Training/ClimbHome.lua
changeset 11889 c8979eeb73fa
parent 11067 c632b47b8ff0
--- a/share/hedgewars/Data/Missions/Training/ClimbHome.lua	Wed Nov 16 16:18:32 2016 +0100
+++ b/share/hedgewars/Data/Missions/Training/ClimbHome.lua	Wed Nov 16 16:32:44 2016 +0100
@@ -1,13 +1,11 @@
 HedgewarsScriptLoad("/Scripts/Locale.lua")
 
-local isSinglePlayer = true
+isSinglePlayer = true
 
 -- trying to allow random theme, but fixed theme objects...
 -- Also skip some ugly themes, or ones where the sky is "meh"
 --local themes = { "Art","Cake","City","EarthRise","Halloween","Olympics","Underwater","Bamboo","Castle","Compost","Eyes","Hell","Planes","Bath","Cave","CrazyMission","Freeway","Island","Sheep","Blox","Cheese","Deepspace","Fruit","Jungle","Snow","Brick","Christmas","Desert","Golf","Nature","Stage" }
 local themes = {"Christmas","Hell","Bamboo","City","Island","Bath","Compost","Jungle","Desert","Nature","Olympics","Brick","EarthRise","Sheep","Cake","Freeway","Snow","Castle","Fruit","Stage","Cave","Golf","Cheese","Halloween"}
-local showWaterStats = true -- uses the AI team to draw water height.
-local scaleGraph = true
 local totalHedgehogs = 0
 local HH = {}
 local teams = {}
@@ -28,11 +26,6 @@
     AddTeam(loc("Lonely Hog"), 0xDD0000, "Simple", "Island", "Default")
     player = AddHog(loc("Climber"), 0, 1, "NoHat")
     if showWaterStats then
-        AddTeam(" ", 0x545C9D, "Simple", "Island", "Default")
-    elseif scaleGraph then
-        AddTeam(" ", 0x050505, "Simple", "Island", "Default")
-    end
-    if showWaterStats or scaleGraph then
         dummyHog = AddHog(" ", 0, 1, "NoHat")
         HH[dummyHog] = nil
         totalHedgehogs = totalHedgehogs - 1