Seeding reorg
This commit is contained in:
@@ -27,8 +27,8 @@ public class UserLeaderSkin
|
||||
{
|
||||
this.Id = leaderSkin.Id;
|
||||
this.Name = leaderSkin.Name;
|
||||
// Class is nullable 窶・BaseDataSeeder maps CSV class_chara_id=0 to null. Fall back to
|
||||
// the FK column (also nullable) and finally 0 for class-agnostic skins.
|
||||
// Class is nullable — class-agnostic skins (CSV class_chara_id=0) come in as null. Fall
|
||||
// back to the FK column (also nullable) and finally 0.
|
||||
this.ClassId = leaderSkin.Class?.Id ?? leaderSkin.ClassId ?? 0;
|
||||
this.EmoteId = leaderSkin.EmoteId;
|
||||
this.IsOwned = isOwned;
|
||||
|
||||
Reference in New Issue
Block a user