Skip to content

Commit

Permalink
fixed registration panic
Browse files Browse the repository at this point in the history
  • Loading branch information
kube committed Jan 19, 2024
1 parent 000076e commit 1e8452a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions contracts/arena/src/arena.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,7 @@ impl Arena {
)
.expect("unable to reply");
} else {
assert!(
character_tier != lobby.current_tier,
"Can't Register for this Tier"
);
panic!("Can't Register for this Tier");
};

debug!("Current tier after registration {:#?}", lobby.current_tier);
Expand Down

0 comments on commit 1e8452a

Please sign in to comment.