player_quit doesn't fire on first event (interpreter-only)
LadyCailinBot opened this issue ยท 5 comments
CMDHELPER-2796 - Reported by PseudoKnight
--If I click the disconnect button, it doesn't seem to fire a player_quit bind. If I instead close the Minecraft window to receive disconnect.endOfStream then it runs a player_quit bind script.--
UPDATED: It only misses the first event when you bind player_quit in interpreter.
CH Build 2379
CB Build 2865
Comment by PseudoKnight
Okay, I'm confused. I just saw it fire on disconnect.quitting for the first time. Something is wrong, but I'm not sure what. I'll do more testing.
Comment by PseudoKnight
Okay, I think what's happening is that it's not firing on the first event after it's bound. Every subsequent event fires okay. My initial testing involved a lot of unbinding and rebinding.
I'm going to test if this is only an issue in interpreter.
Comment by PseudoKnight
Okay, this seems to only be an interpreter quirk, so no big deal. Events bound in main.ms or on-demand in aliases seem to work fine on the first event.