mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-10 14:07:59 -06:00
refactor: update debug state management and rendering systems
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user