NPC (Vard): Fix "Plastic Surgery" option

Correct typos for variable `fface_v`.
This commit is contained in:
HarkuLi
2024-03-13 22:51:54 +08:00
parent 238c01baf4
commit 0245e7d1af

View File

@@ -58,8 +58,8 @@ function action(mode, type, selection) {
} }
} }
if (cm.getChar().getGender() == 1) { if (cm.getChar().getGender() == 1) {
for (var i = 0; i < fface.length; i++) { for (var i = 0; i < fface_v.length; i++) {
pushIfItemExists(facenew, fface[i] + cm.getChar().getFace() pushIfItemExists(facenew, fface_v[i] + cm.getChar().getFace()
% 1000 - (cm.getChar().getFace() % 1000 - (cm.getChar().getFace()
% 100)); % 100));
} }