mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-02-27 13:23:04 +00:00
Rework time service to fix time passing offline.
This commit is contained in:
@@ -157,7 +157,7 @@ void CoreTiming::UnscheduleEvent(const std::shared_ptr<EventType>& event_type,
|
||||
}
|
||||
}
|
||||
|
||||
for (auto h : to_remove) {
|
||||
for (auto& h : to_remove) {
|
||||
event_queue.erase(h);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user