Skip to content

Commit

Permalink
Updated Randomizer.GenerateColonist() to explicitly use a
Browse files Browse the repository at this point in the history
PawnGenerationRequest with a few specific parameters in an attempt to
better match the initial colonist generation.
  • Loading branch information
edbmods committed Sep 9, 2016
1 parent 48205b1 commit eb1070a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/Randomizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ public class Randomizer
public Pawn GenerateColonist()
{
PawnKindDef kindDef = Faction.OfPlayer.def.basicMemberKind;
Pawn pawn = PawnGenerator.GeneratePawn(kindDef, Faction.OfPlayer);
Pawn pawn = PawnGenerator.GeneratePawn(new PawnGenerationRequest(kindDef, Faction.OfPlayer,
PawnGenerationContext.PlayerStarter, true, false, false, false, false, false, 0f, false, true,
false, null, null, null, null, null, null));
return pawn;
}

Expand Down

0 comments on commit eb1070a

Please sign in to comment.