Players can cut wire that has already been cleared

Issue #202 resolved
Colin Basnett created an issue
  1. Player 1 starts cutting a peice of wire
  2. Have Player 2 drive a tank through the wire
  3. Player 1 continues cutting the wire despite it being cleared

Comments (3)

  1. Colin Basnett reporter

    This has been fixed by this little bit (can't remember the commit):

        simulated function Tick(float DeltaTime)
        {
            super.Tick(DeltaTime);
    
            if (ObstacleBeingCut == none || ObstacleBeingCut.Info.IsCleared())
            {
                GotoState('');
                PlayAnim('cutEnd', 1.0, 0.2);
            }
        }
    
  2. Log in to comment