Racer: Count turn as skipped when computer skipped
authorWuzzy <Wuzzy2@mail.ru>
Mon, 15 Jul 2019 23:26:00 +0200
changeset 15250 395563ffc8b5
parent 15249 44533b2e4fb1
child 15251 4aa19b21707d
Racer: Count turn as skipped when computer skipped
share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua	Mon Jul 15 21:13:01 2019 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua	Mon Jul 15 23:26:00 2019 +0200
@@ -1077,6 +1077,10 @@
     end
 end
 
+function onSkipTurn()
+    turnSkipped = true
+end
+
 function onAchievementsDeclaration()
     usedWeapons[amSkip] = nil
     usedWeapons[amExtraTime] = nil