mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-20 11:40:21 +00:00
Move to shared pointer
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
void AmScrollReaderServer::OnMessageBoxResponse(Entity* self, Entity* sender, int32_t button, const std::u16string& identifier, const std::u16string& userData) {
|
||||
if (identifier == u"story_end") {
|
||||
auto* missionComponent = sender->GetComponent<MissionComponent>();
|
||||
auto missionComponent = sender->GetComponent<MissionComponent>();
|
||||
|
||||
if (missionComponent == nullptr) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user