mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
refactor: Better interface for the event system
This commit is contained in:
@@ -128,7 +128,7 @@ namespace hex {
|
||||
achievement->setUnlocked(true);
|
||||
|
||||
if (achievement->isUnlocked())
|
||||
EventManager::post<EventAchievementUnlocked>(*achievement);
|
||||
EventAchievementUnlocked::post(*achievement);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user