mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-10-29 04:24:07 -07:00
Fix fake error when assigning creature name
This commit is contained in:
1 parent
dfb7893c1a
commit
432e115aea
1 file changed
+4
-2
@@ -86,10 +86,12 @@ function this.init(creature, REcreature)
|
||||
end
|
||||
|
||||
local creature_name = get_env_creature_name_message_method:call(singletons.message_manager, creature_type);
|
||||
if creature_name ~= nil then
|
||||
if creature_name == nil then
|
||||
error_handler.report("env_creature.init", "Failed to Access Data: creature_name");
|
||||
creature.name = creature_name;
|
||||
return;
|
||||
end
|
||||
|
||||
creature.name = creature_name;
|
||||
end
|
||||
|
||||
function this.init_UI(creature)
|
||||
|
||||
Reference in new issue
Block a user