feat: update
This commit is contained in:
+1
-1
@@ -563,7 +563,7 @@ const COSMETIC_MAPPING = {
|
||||
func apply_loadout(character_node: Node3D) -> void:
|
||||
"""Apply equipped cosmetics from UserProfileManager.loadout onto the active character model.
|
||||
It uses COSMETIC_MAPPING to dynamically swap visibility and materials of internal meshes."""
|
||||
if not has_node("/root/UserProfileManager"):
|
||||
if not Engine.get_main_loop().root.has_node("UserProfileManager"):
|
||||
return
|
||||
|
||||
var loadout: Dictionary = UserProfileManager.loadout
|
||||
|
||||
Reference in New Issue
Block a user