# HG changeset patch # User Wuzzy # Date 1520512956 -3600 # Node ID 714f6e5b89fdc693bd2769a7f8d73ce511253016 # Parent 10c914738f22d481c49651fa0746283aa66034f6 CTF: Don't disable home flag after capture diff -r 10c914738f22 -r 714f6e5b89fd share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua Thu Mar 08 13:34:45 2018 +0100 +++ b/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua Thu Mar 08 13:42:36 2018 +0100 @@ -172,11 +172,6 @@ -- player has successfully captured the enemy flag if (GetHogClan(CurrentHedgehog) == flagClan) and (thiefClan ~= nil) and (fIsMissing[flagClan] == false) then - DeleteVisualGear(fGear[flagClan]) - fGear[flagClan] = nil -- the flag has now disappeared - - fIsMissing[flagClan] = false - fNeedsRespawn[flagClan] = true fIsMissing[thiefClan] = false fNeedsRespawn[thiefClan] = true fCaptures[flagClan] = fCaptures[flagClan] +1