mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed Toggle Debug Info from Settings
This commit is contained in:
@ -2431,7 +2431,10 @@ impl Hud {
|
|||||||
events.push(Event::SctDamageBatch(sct_damage_batch));
|
events.push(Event::SctDamageBatch(sct_damage_batch));
|
||||||
},
|
},
|
||||||
settings_window::Event::ToggleHelp => self.show.help = !self.show.help,
|
settings_window::Event::ToggleHelp => self.show.help = !self.show.help,
|
||||||
settings_window::Event::ToggleDebug => self.show.debug = !self.show.debug,
|
settings_window::Event::ToggleDebug => {
|
||||||
|
self.show.debug = !self.show.debug;
|
||||||
|
events.push(Event::ToggleDebug(self.show.debug));
|
||||||
|
},
|
||||||
settings_window::Event::ToggleTips(loading_tips) => {
|
settings_window::Event::ToggleTips(loading_tips) => {
|
||||||
events.push(Event::ToggleTips(loading_tips));
|
events.push(Event::ToggleTips(loading_tips));
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user