- Joined
- Aug 16, 2019
- Messages
- 106
Realm of Kings
I ocassionally encounter several inconsistent bugs in my map that as far as I can tell come from unit group variables getting accidentally deleted so they can no longer be used, but the thing is I don't have any triggers that are supposed to delete them, so I'm at a loss for why it is happening. It's pretty much exclusively when playing the map online, I can't remember ever encountering it in testing.
My best bet for how it happens is that set bj_wantDestroyGroup = true sometimes "leaks" through the group used immediately after that it's supposed to destroy and instead destroys whichever group is used next (since that's the only code I use that can delete groups except GUI Unit Event), can anybody confirm or deconfirm if such a thing is possible? Or know of any other issues that can delete group variables?
In testing it doesn't seem to be the case, even if the group is empty it won't pass through to the next.
My best bet for how it happens is that set bj_wantDestroyGroup = true sometimes "leaks" through the group used immediately after that it's supposed to destroy and instead destroys whichever group is used next (since that's the only code I use that can delete groups except GUI Unit Event), can anybody confirm or deconfirm if such a thing is possible? Or know of any other issues that can delete group variables?
In testing it doesn't seem to be the case, even if the group is empty it won't pass through to the next.

