Debugger: Lua - Fixed eventType.reset event callback
This commit is contained in:
parent
63f35598fc
commit
ae5a1a1183
1 changed files with 7 additions and 0 deletions
|
@ -292,6 +292,13 @@ void Console::ResetComponents(bool softReset)
|
||||||
SoundMixer::StopAudio(true);
|
SoundMixer::StopAudio(true);
|
||||||
|
|
||||||
MessageManager::SendNotification(softReset ? ConsoleNotificationType::GameReset : ConsoleNotificationType::GameLoaded);
|
MessageManager::SendNotification(softReset ? ConsoleNotificationType::GameReset : ConsoleNotificationType::GameLoaded);
|
||||||
|
|
||||||
|
if(softReset) {
|
||||||
|
shared_ptr<Debugger> debugger = _debugger;
|
||||||
|
if(debugger) {
|
||||||
|
debugger->ProcessEvent(EventType::Reset);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Console::Stop()
|
void Console::Stop()
|
||||||
|
|
Loading…
Add table
Reference in a new issue