mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 04:18:11 -08:00
Fix fake error when assigning creature name
This commit is contained in:
@@ -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