Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

The interaction component doesn't update its contents after interacting #4569

Open
Kmla2 opened this issue Dec 14, 2024 · 1 comment
Open
Labels
bug Something isn't working Major

Comments

@Kmla2
Copy link
Collaborator

Kmla2 commented Dec 14, 2024

Round ID: Any (totally didn't forgot and don't want to bother doing it again)

Reproduction:

  1. Get an interaction component and a button one, secure them and connect
  2. Get a second object (table, slot machine, id, crate, locker) on the side that the interaction component will be interacting, by default it will interact on-top of itself
  3. Add in credits to the interaction component
  4. Click the button component, now as normal the slot machine / id gets money
  5. Click the button component again, the amount of credits you gave the interaction components will be given to the machine again, duplicating the money. you can refund balance in the machine to get it back, same with id

Additional Information

Current Testmerges #4537 #4556 #4553 #4555 #4320 #4497 #4475 #4365 #3620 #4565 #4428

If a table is used instead, it will teleport the item to the table back, no matter where it is aslong as its "stored" in the Int.Comp

@RandomDudeFromTheRim
Copy link
Contributor

maybe somehow making the component check for item's existence each time the 'interact' thing is triggered might fix it?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working Major
Projects
None yet
Development

No branches or pull requests

2 participants