ACF8: Fix princess scene failing to initialize
authorWuzzy <Wuzzy2@mail.ru>
Tue, 22 Jan 2019 18:00:08 +0100
changeset 14683 35fc8266a1e3
parent 14682 0bba06a05d52
child 14684 fb73852e6f4d
ACF8: Fix princess scene failing to initialize
share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/queen.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/queen.lua	Tue Jan 22 17:40:46 2019 +0100
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/queen.lua	Tue Jan 22 18:00:08 2019 +0100
@@ -812,7 +812,7 @@
   if GetGearType(gear) == gtHedgehog then
     if GetHogTeamName(gear) == beepTeamName or GetHogTeamName(gear) == corpTeamName then
       cyborgsLeft = cyborgsLeft - 1
-    elseif GetHogTeamName(gear) == loc("Natives") then
+    elseif GetHogTeamName(gear) == nativesTeamName then
       for i = 1, nativesLeft do
         if natives[i] == gear then
           toRemove = i