summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index b557f3e36..59bfb9708 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -301,8 +301,11 @@ Being *ActorManager::createBeing(const BeingId id,
beingHandler->requestNameById(id);
}
break;
- case ActorType::SkillUnit:
case ActorType::Elemental:
+ if (beingHandler)
+ beingHandler->requestNameById(id);
+ break;
+ case ActorType::SkillUnit:
break;
default:
case ActorType::FloorItem: