diff --git a/Client/origin-client/scenes/game/game_screen.gd b/Client/origin-client/scenes/game/game_screen.gd index 6c3ba8b..d9f933e 100644 --- a/Client/origin-client/scenes/game/game_screen.gd +++ b/Client/origin-client/scenes/game/game_screen.gd @@ -674,10 +674,11 @@ func _add_unit_mesh(unit: Dictionary, team_color: Color, is_enemy: bool = false) if model_url.is_empty(): return - # Read per-model config from the asset. - var facing_dir : String = str(model_asset.get("modelFacingDirection", "north")) - var model_scale : float = float(model_asset.get("modelScale", 1.0)) - var tint_str : String = str(model_asset.get("modelTintColor", "")) + # Asset-level config (model-file specific). + var facing_dir : String = str(model_asset.get("modelFacingDirection", "north")) + # Card-level config (visual identity of this card, not the shared mesh file). + var model_scale : float = float(def.get("modelScale", 1.0)) + var tint_str : String = str(def.get("modelTintColor", "")) var model_tint : Color = Color.WHITE if not tint_str.is_empty() and tint_str != "null": model_tint = Color(tint_str) diff --git a/Server/src/SOR.Admin/Components/Pages/Cards/CardEditor.razor b/Server/src/SOR.Admin/Components/Pages/Cards/CardEditor.razor index 75db9aa..f24634b 100644 --- a/Server/src/SOR.Admin/Components/Pages/Cards/CardEditor.razor +++ b/Server/src/SOR.Admin/Components/Pages/Cards/CardEditor.razor @@ -112,6 +112,26 @@ else + +