Fix from Iran and Omniblade from the Chronoshift discord, fixes units autobuilding.

This commit is contained in:
Justin Marshall
2020-06-04 18:57:16 -07:00
parent 7b2d6f0f09
commit 13c0ff67b0
+5 -3
View File
@@ -2382,9 +2382,11 @@ bool Read_Scenario_INI(char * fname, bool )
PlayerPtr->Credits += carryover;
PlayerPtr->Control.InitialCredits += carryover;
} else {
//Call the new Assign_Houses function. ST - 8/8/2019 12:35PM
//Assign_Houses();
GlyphX_Assign_Houses();
// jmarshall - Thanks Iran and OmniBlade from the Choronoshift Discord!
// This fixes ai building player controlled factions.
Assign_Houses();
//GlyphX_Assign_Houses();
// jmarshall end
}
PlayerPtr->IsHuman = true;
PlayerPtr->IsPlayerControl = true;