apetavern / grubs

A worms-inspired artillery game for s&box with randomly generated levels.
MIT License
29 stars 7 forks source link

Clean up landmines / oildrums / etc when game is over #387

Closed trundlr closed 1 month ago

trundlr commented 1 month ago

Currently, these networked objects belong to the host, but I don't think they are stored anywhere for easy reference. We need a method that cleans them up that we can run when cleaning up terrain / grubs / etc.

cs716 commented 1 month ago

It looks like all of the cursors get left behind too image

Would it be too much to add a "temporary" tag and perform a cleanup on those @trundlr ?

cs716 commented 1 month ago

Hope not I did it - tag is "cleanup"

https://github.com/apetavern/grubs/assets/29966072/cd616eea-c3c3-45c1-913f-bfc1f5613247