Project-Sloth / ps-housing

Advanced housing system for QBCore.
https://discord.gg/projectsloth
Other
343 stars 110 forks source link

Owned furniture bug #168

Closed error3011 closed 9 months ago

error3011 commented 11 months ago

Describe the bug Issue becomes when you buy furniture, and it's owned by you, when you go and press magnifier glass under "owned furniture" feature works as intended if you don't back out of the menu while item is "hidden" so, so if you back out of it item "poofs" and then you are unable to bring it back to new position when you enter furniture customisation menu again.

To Reproduce Steps to reproduce the behaviour:

  1. Go to 'Furniture Menu'
  2. Purchase any furniture, storage unit used as example.
  3. Place it where you want in the apartment. 3a. Optional: Back out of the menu and enter it again.
  4. Go to "Owned Furniture" and click on magnifier glass to hide the item.
  5. Back out of the menu.
  6. Go back in "Furniture Menu" and try to place the prop down.

Expected behaviour After hiding the prop to be able to place it back after you backed out the menu since it is still under owned furniture but unable to be placed in new position.

Screenshots Video link of the issue.

Additional context There are no errors on either server or client side, weird thing is that in database coordinates remain updated to where prop initially was placed, but it never comes back as interactable prop.

MonkeyWhisper commented 9 months ago

https://github.com/Project-Sloth/ps-housing/pull/179