mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2025-04-14 12:29:15 +00:00
Merge branch 'fix/full-height-crash' into 'master'
Fix a crash when the player somehow becomes invalid See merge request BondageProjects/Bondage-College!5506
This commit is contained in:
commit
6457aa6a51
1 changed files with 1 additions and 1 deletions
|
@ -595,7 +595,7 @@ function CharacterAppearanceSetHeightModifiers(C) {
|
|||
}
|
||||
|
||||
// Set the height ratio here to avoid lookin it up when drawing. The setting can make all characters full height
|
||||
C.HeightRatio = Player.CharacterID === "" || Player.VisualSettings.ForceFullHeight ? 1 : CharacterAppearanceGetCurrentValue(C, "Height", "Zoom");
|
||||
C.HeightRatio = Player.VisualSettings?.ForceFullHeight ? 1 : CharacterAppearanceGetCurrentValue(C, "Height", "Zoom");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue