Major Cooke wrote:Try using Destroy() instead of Close().
I have a couple alternatives in mind in case that doesn't work, but try that first.
Don't do that! 'Close' performs some necessary bookkeeping when closing the menu.
Moderator: GZDoom Developers
Major Cooke wrote:Try using Destroy() instead of Close().
I have a couple alternatives in mind in case that doesn't work, but try that first.
Graf Zahl wrote:Don't do that! 'Close' performs some necessary bookkeeping when closing the menu.
Nash wrote:Major Cooke, if you have time - can you post a minimal example on how to safely manipulate the player with the recent systems and restrictions.
Perhaps just a simple menu that changes the player's health when you click on a button?
Thanks!
Major Cooke wrote:Until I realized that such a command like 'closemenu' exists, which means the object will accumulate as a memory leak.
Users browsing this forum: No registered users and 3 guests