Debugger: Lua - Fixed eventType.reset event callback

This commit is contained in:
Souryo 2017-10-03 18:40:26 -04:00
parent 63f35598fc
commit ae5a1a1183

View file

@ -292,6 +292,13 @@ void Console::ResetComponents(bool softReset)
SoundMixer::StopAudio(true);
MessageManager::SendNotification(softReset ? ConsoleNotificationType::GameReset : ConsoleNotificationType::GameLoaded);
if(softReset) {
shared_ptr<Debugger> debugger = _debugger;
if(debugger) {
debugger->ProcessEvent(EventType::Reset);
}
}
}
void Console::Stop()