[Bots] Fix saving of expansion settings for new bots (#5088)

This commit is contained in:
nytmyr
2026-05-31 13:17:25 -05:00
committed by GitHub
parent ca704c7f88
commit 854fd3eff9
+1 -1
View File
@@ -512,7 +512,7 @@ bool BotDatabase::SaveNewBot(Bot* b, uint32& bot_id)
e.poison = b->GetBasePR();
e.disease = b->GetBaseDR();
e.corruption = b->GetBaseCorrup();
e.expansion_bitmask = b->GetExpansionBitmask();
e.expansion_bitmask = RuleI(Bots, BotExpansionSettings);
e = BotDataRepository::InsertOne(database, e);