mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Tiny fix to prevent settings from permanently being marked as changed
Former-commit-id: c12d760a22926eebc2661be1db4609546286c89a
This commit is contained in:
@ -86,6 +86,7 @@ impl Window {
|
|||||||
|
|
||||||
if self.settings_changed {
|
if self.settings_changed {
|
||||||
events.push(Event::SettingsChanged);
|
events.push(Event::SettingsChanged);
|
||||||
|
self.settings_changed = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Copy data that is needed by the events closure to avoid lifetime errors
|
// Copy data that is needed by the events closure to avoid lifetime errors
|
||||||
|
Reference in New Issue
Block a user