[0.9.030-PUBLIC#2768] Unequipped tent in disinfectant storage crashes

nendfris

New Member
Jan 10, 2023
1
0
I unequipped the tent and left it in the ships storage before entering the disinfectant storage. Choosing the Inventory? option, the Next button following after the HL Tent button then leads to the following output:

Code:
Version: 0.9.030-PUBLIC#2768

Message:
pc.inventory.tent.ready is not a function

Stack:
45156/window.n22bonusFunc/e/<@https://www.fenoxo.com/play/TiTS/release/content_first14.5414db7f.js:1:261234
value@https://www.fenoxo.com/play/TiTS/release/main.d9cfde2a.js:1:16887956
47349/A
value/<@https://www.fenoxo.com/play/TiTS/release/main.d9cfde2a.js:1:10987556
 

Jacques00

Administrator
Moderator
Aug 26, 2015
5,140
1,270
Hopefully fixed for the next release. The button should be disabled if there is no tent equipped when trying to use it.
 

Jacques00

Administrator
Moderator
Aug 26, 2015
5,140
1,270
Did you also add a Back button? If not, this will softlock the player.
I've revised the change and made it to where the player will not be able to manually unequip their tent item (they may be able to swap it with another tent item).