mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-14 12:08:28 +00:00
Move to shared pointer
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
void BurningTile::OnFireEventServerSide(Entity* self, Entity* sender, std::string args, int32_t param1, int32_t param2, int32_t param3) {
|
||||
if (args == "PlayerEntered") {
|
||||
auto* skillComponent = sender->GetComponent<SkillComponent>();
|
||||
auto skillComponent = sender->GetComponent<SkillComponent>();
|
||||
|
||||
if (skillComponent == nullptr) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user