Open Cojoke-dot opened 4 months ago
Why doesn't it just move the player? Why does it take the entire container the player is in?
Why doesn't it just move the player? Why does it take the entire container the player is in?
Because the QSI does not check where it is going before selecting the target for teleport, you can just put the QSI next to the person and then teleport it to cause the same effect.
I may argue this is actually a bug with the SharedContainerSystem.CanInsert method. The QSI checks if the entities it's decided to teleport can be inserted into the container it's decided to teleport into, and somehow crates "allow" lockers to be inserted into them. Either this function should be changed to return the expected result, a different function should be used to return the expected result, or a different function should be written to return the expected result.
Description
Using an anchored container and an unanchored container, one can seal a person eternally with a paired QSI set Container refers to mostly lockers and crates in this issue, but I know disposal bins work just as well Reproduction
Screenshots
https://github.com/user-attachments/assets/0015e97c-66d0-4d0b-8875-791f39b77391