What's going on? When I open the trading interface in 1K, my character just disappears!

http://flowlab.io/game/play/1190080
Go to the weapon shop.
I need to know what’s going on!
1K has been a fun project, but it’s also a bug finding machine!

OOF make them on different layers I like saying OOF

I think that’s how

When you press Y to see the shop menu (alert), You send a message (Leave) and that deletes the player.

I don’t know whats doing it, but something is sending the leave message to the player whenever you start trading, causing the player to be destroyed.

This is a super cool concept of trading using alerts, I can’t wait to see what you do with it!

@“JR 01” it never sends vault boy the message leave. The leave message is my current technique to stop the spamming bug that the player’s having. It’s in no way associated with the shop.

@“my_name (<_>)” , I know it seems like the leave is what’s causing it, but it’s not. That’s my current technique to reduce the amount of lag caused by a different bug that I can’t fix.
And thanks for the compliment! I’m also pretty excited with the possibilities. If you go to talk with Piper in Publick Occurrences, you can see what else I’ve done with a similar design.

You don’t disappear if you disconnect the destroy, you can also visually see the mailbox outputting in the editor when you press Y. It’s has to be cause.

What messages the player “Leave”? I may be able to find the problem for you.

Nvm, I see why @browngr.

If you go to “Publick Occurences” AND “Valetine’s Detective Agency”,
the “Leave” message is directly tied to Y keyboard button.
You need a switch just that turns on when you click them, just like the “Next Level” behavior.

Thanks guys!