Skip to content

Commit

Permalink
fix typo in state update
Browse files Browse the repository at this point in the history
  • Loading branch information
super-continent authored Nov 15, 2024
1 parent 5a38d19 commit d4e5f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sammi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ pub unsafe fn game_loop_hook_sammi() {

log::trace!("current state");
new_state.player_1.state = process_string(&gamestate.player_1().current_state());
new_state.player_2.state = process_string(&gamestate.player_2().previous_state());
new_state.player_2.state = process_string(&gamestate.player_2().current_state());

log::trace!("previous state");
new_state.player_1.previous_state = process_string(&gamestate.player_1().previous_state());
Expand Down

0 comments on commit d4e5f39

Please sign in to comment.