# HG changeset patch # User nemo # Date 1417376500 18000 # Node ID eaccc445c473652cc7d72bf93579977e4dff67c0 # Parent f44ec13e3082309640d97532ddf55790405e6027 Should prevent desync hopefully. Thanks unc0rr diff -r f44ec13e3082 -r eaccc445c473 share/hedgewars/Data/Maps/ClimbHome/map.lua --- a/share/hedgewars/Data/Maps/ClimbHome/map.lua Sun Nov 30 17:20:37 2014 +0100 +++ b/share/hedgewars/Data/Maps/ClimbHome/map.lua Sun Nov 30 14:41:40 2014 -0500 @@ -110,16 +110,12 @@ tauntNoo = false recordBroken = false if CurrentHedgehog ~= nil then - if CurrentHedgehog ~= dummyHog then - SetGearPosition(CurrentHedgehog, 1951,32640) - if not HogsAreInvulnerable then SetEffect(CurrentHedgehog,heInvulnerable,0) end - AddVisualGear(19531,32640,vgtExplosion,0,false) - SetState(CurrentHedgehog,band(GetState(CurrentHedgehog),bnot(gstInvisible))) - SetWeapon(amRope) - ready = true - else - ParseCommand("/skip") - end + SetGearPosition(CurrentHedgehog, 1951,32640) + if not HogsAreInvulnerable then SetEffect(CurrentHedgehog,heInvulnerable,0) end + AddVisualGear(19531,32640,vgtExplosion,0,false) + SetState(CurrentHedgehog,band(GetState(CurrentHedgehog),bnot(gstInvisible))) + SetWeapon(amRope) + ready = true end for f,i in pairs(Fire) do DeleteGear(f) @@ -174,6 +170,9 @@ function onGameTick20() local x,y; if math.random(20) == 1 then AddVisualGear(2012,56,vgtSmoke,0,false) end + if CurrentHedgehog == dummyHog then + ParseCommand("/skip") + end --if BoomFire ~= nil then -- for f,i in pairs(BoomFire) do