#functions runs several times when called once
27 messages · Page 1 of 1 (latest)
ok
read ur code
what happens when you trigger it?
you connect a callback function to PromptProductPurchaseFinished
alright
so when you trigger it
two times
you connect to callback functions
when you trigger it a third
you connect three
...
i hope u understood
i do but why does it account for all the previous times you finished the prompt as well
You connect it every time
But never disconnect it
So it’s connected multiple times
And thus runs N times for N triggers
Do :Once instead
he can just move it out
ah
** You are now Level 3! **
let me try
Oh yea
Didn’t realize that’s a promptfinisihed connection
alright thanks before i figured i didnt have to disconnect it because each time it was triggered the function is reset