Can't set Tile.objectGroup back to null #3495
Labels
bug
Broken behavior.
good first issue
Good thing to start with, and don't be shy to ask for help!
hacktoberfest
Good thing to try for Hacktoberfest participants.
Describe the bug
I can't find a way to remove an ObjectGroup from a Tile. That is, to set Tile.objectGroup back to null after setting it. Either I'm just not finding it, or a method or something is missing.
The best I can currently do is either loop through and remove all objects from the group, or assign it a new empty group.
To Reproduce
Expected behavior
If it can be null (which it can), I should be able to set it back to null, either directly or via method.
Specifications:
The text was updated successfully, but these errors were encountered: