share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/epil.lua
changeset 12541 8d249cc59430
parent 12365 92b4bab79c26
child 12586 7510fe66bfbb
equal deleted inserted replaced
12540:1171c08fec1c 12541:8d249cc59430
   263     {func = AnimSwitchHog, args = {natives[leaksNum]}}
   263     {func = AnimSwitchHog, args = {natives[leaksNum]}}
   264   }
   264   }
   265 end
   265 end
   266 -----------------------------Misc--------------------------------------
   266 -----------------------------Misc--------------------------------------
   267 function GetVariables()
   267 function GetVariables()
   268   m8Scene = tonumber(GetCampaignVar("M8Scene"))
   268   m8Scene = tonumber(GetCampaignVar("M8Scene")) or waterScene
       
   269   -- waterScene is for fallback if campaign var was not found
   269 end
   270 end
   270 
   271 
   271 function AddHogs()
   272 function AddHogs()
   272 	AddTeam(loc("Natives"), 29439, "Bone", "Island", "HillBilly", "cm_birdy")
   273 	AddTeam(loc("Natives"), 29439, "Bone", "Island", "HillBilly", "cm_birdy")
   273   for i = 1, 5 do
   274   for i = 1, 5 do