Framework
Framework copied to clipboard
Containers variable return null object
Expected behaviour
Containers check should not count null object.
Actual behaviour
If player place container and relog containers var will return some null object until reboot, so the count of containers will be false .
Steps to reproduce the behaviour
- (Add,Delete) Container.
- Disconnect.
- Reconnect.
- Check the containers vars : return null object until reboot.
RPT and/or extDB3 logs (if applicable)
N/A
Mission version: 5.0
Launcher version: 1.5
Game version: 1.96
Branch: main / beta branch not specified
Seems you've omitted important parts of the issue template, could you please correct that?
@Jimz71 Hi, sorry for the delay in responding, can I just clarify, are you saying that the variable "containers" which is set on the house is returning objNull, or is it an array containing objNull's? Also is this after adding then removing a container?
Hi @Jimz71, above you can see 2 PR's to resolve this issue. #652 for the 5.x.x branch, and #653 for master branch. Please could you confirm if this resolves your issue?
As already noted: #653 fixes the dup-bug for current master branch. I didn't checkecd #652 for 5.x.x branch.