Skip to content

Commit

Permalink
lock
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Sep 4, 2024
1 parent 61fe489 commit f1521be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/systems/actions.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ mod actions {
}

fn claim(ref world: IWorldDispatcher) {
// Game must be locked
let game = get!(world, GAME_ID, Game);
assert!(game.is_locked == false, "Game is locked");

assert!(game.is_locked, "Game is not locked");

let player = get_caller_address();
let flip_token = flip_token(world);
Expand Down

0 comments on commit f1521be

Please sign in to comment.