mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2025-04-25 17:59:34 +00:00
Force a refresh of the preview character for the expression menu
This commit is contained in:
parent
051bf3ba28
commit
469d278a1e
1 changed files with 4 additions and 0 deletions
|
@ -827,6 +827,9 @@ function DialogLeave() {
|
|||
|
||||
// Reset the state of the self menu
|
||||
DialogSelfMenuSelected = null;
|
||||
for (const preview of DialogSavedExpressionPreviews) {
|
||||
CharacterDelete(preview, false);
|
||||
}
|
||||
DialogSavedExpressionPreviews = [];
|
||||
DialogFacialExpressionsSelected = -1;
|
||||
DialogFacialExpressions = [];
|
||||
|
@ -1802,6 +1805,7 @@ function DialogBuildSavedExpressionsMenu() {
|
|||
for (let x = 0; x < expression.length; x++) {
|
||||
CharacterSetFacialExpression(PreviewCharacter, expression[x].Group, expression[x].CurrentExpression);
|
||||
}
|
||||
CharacterRefresh(PreviewCharacter);
|
||||
|
||||
DialogSavedExpressionPreviews[i] = PreviewCharacter;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue