Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Apr 3, 2024
1 parent 1c40c0c commit 9313074
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/systems/actions.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ mod actions {
let player = get_caller_address();
// Retrieve the player's current position from the world.
let position = get!(world, player, (Position));
// Retrieve the player's move data, e.g., how many moves they have left.
let moves = get!(world, player, (Moves));

// Update the world state with the new data.
// 1. Increase the player's remaining moves by 1.
Expand Down

0 comments on commit 9313074

Please sign in to comment.