Global Variables inconstant when changed.

Not applicable
Issue description

This has been a problem for a bit, but Global Variables are changed twice in update ticks. I wanted to make a system where a global variable is decreased by 1 every couple seconds when something is true, but whenever it activates the "set global variable (example) to : get (example) - 1", it ends up removing two, in two seperate instances. And it sometimes only activates once, causing even more issues. And if a global variable is set to change when something is right clicked, and it is set to increase itself by 1, it will increase itself by 4.

Issue comments

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.