Browse Source

Fixed issue where the cop event didn't stop if you were arrested

spesk1 4 years ago
parent
commit
55a64416cb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main.rs

+ 1 - 0
src/main.rs

@@ -423,6 +423,7 @@ fn cops_event(player: &mut Player) {
                     if arrest == 0 {
                         println!("The cops got you! They confiscate your cash and stash!");
                         player.arrested();
+                        done = true;
                     }
                 } else {
                     println!("They miss and you keep running!");