refactor: update debug state management and rendering systems

This commit is contained in:
Ryan Walters
2025-08-19 11:31:31 -05:00
parent 5109457fcd
commit 8b5e66f514
5 changed files with 90 additions and 90 deletions

View File

@@ -57,7 +57,7 @@ pub fn player_control_system(
state.exit = true;
}
GameCommand::ToggleDebug => {
*debug_state = debug_state.next();
debug_state.enabled = !debug_state.enabled;
}
GameCommand::MuteAudio => {
audio_state.muted = !audio_state.muted;