Skip to content

Commit f503d08

Browse files
author
Wil Thieme
committed
fix typo
1 parent 9cea2c6 commit f503d08

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

ps/ps_inventory.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<sheetdata>
1919
<hidden_record_isidentified name="isidentified">
2020
<class>item</class>
21-
<script file="campaign/scripts/ps_parcelitem.lua" />
21+
<script file="ps/scripts/ps_parcelitem.lua" />
2222
</hidden_record_isidentified>
2323

2424
<button_record_isidentified name="identifyitem" insertbefore="assign">

ps/scripts/ps_parcelitem.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,14 @@ function onInit()
1818
end
1919

2020
OptionsManager.registerCallback("PS-NONID-NAME", hideOrShowID);
21+
2122
hideOrShowID();
2223
end
2324

2425
function onClose()
26+
if super.onClose then
27+
super.onClose();
28+
end
29+
2530
OptionsManager.unregisterCallback("PS-NONID-NAME", hideOrShowID);
2631
end

0 commit comments

Comments
 (0)