core: Fixed a typo in messages on pressing Ctrl+Alt+D (#8360)
This commit is contained in:
parent
919b38f20b
commit
84f3739ece
|
@ -853,14 +853,12 @@ impl Player {
|
||||||
self.mutate_with_update_context(|context| {
|
self.mutate_with_update_context(|context| {
|
||||||
if context.avm1.show_debug_output() {
|
if context.avm1.show_debug_output() {
|
||||||
log::info!(
|
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.avm1.set_show_debug_output(false);
|
||||||
context.avm2.set_show_debug_output(false);
|
context.avm2.set_show_debug_output(false);
|
||||||
} else {
|
} else {
|
||||||
log::info!(
|
log::info!("AVM Debugging turned on! Press CTRL+ALT+D to turn off.");
|
||||||
"AVM Debugging turned on! Press CTRL+ALT+D to turn on again."
|
|
||||||
);
|
|
||||||
context.avm1.set_show_debug_output(true);
|
context.avm1.set_show_debug_output(true);
|
||||||
context.avm2.set_show_debug_output(true);
|
context.avm2.set_show_debug_output(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue