Skip to content

Commit

Permalink
Fixed a typo in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Iridar51 committed Jan 9, 2021
1 parent 2d83a4b commit e2c45c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ final function string GetDisplayName()
/// It contains the "kSoldier" property, which stores the generated appearance, and can be modified by the hook.
/// You can also use the methods in the Character Generator if you want to "redo" some parts of the generation process.
/// However, it's important *not* to call the CreateTSoldier() method, as this will retrigger the hook, potentially causing an inception loop and crashing the game.
/// The UnitState and the GameState will be passed with the event only if this CreateTSoldier() function was called from CreateTSoldierFromUnit(),
/// The UnitState and the GameState will be passed to this function only if this CreateTSoldier() function was called from CreateTSoldierFromUnit(),
/// which normally happens only in the shell code (TQL / Challenge Mode / Character Pool).
// </summary>
static function ModifyGeneratedUnitAppearance(XGCharacterGenerator CharGen, optional name CharacterTemplateName, optional EGender eForceGender, optional name nmCountry = '', optional int iRace = -1, optional name ArmorName, optional XComGameState_Unit UnitState, optional XComGameState UseGameState)
Expand Down

0 comments on commit e2c45c0

Please sign in to comment.