core: Fixed a typo in messages on pressing Ctrl+Alt+D (#8360)

This commit is contained in:
DragonGamesStudios 2022-10-23 15:44:33 +02:00 committed by GitHub
parent 919b38f20b
commit 84f3739ece
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -853,14 +853,12 @@ impl Player {
self.mutate_with_update_context(|context| {
if context.avm1.show_debug_output() {
log::info!(
"AVM Debugging turned off! Press CTRL+ALT+D to turn off again."
"AVM Debugging turned off! Press CTRL+ALT+D to turn on again."
);
context.avm1.set_show_debug_output(false);
context.avm2.set_show_debug_output(false);
} else {
log::info!(
"AVM Debugging turned on! Press CTRL+ALT+D to turn on again."
);
log::info!("AVM Debugging turned on! Press CTRL+ALT+D to turn off.");
context.avm1.set_show_debug_output(true);
context.avm2.set_show_debug_output(true);
}