Skip to content

Fixed: The removebot commands could crash singleplayer when using OpenGL (addresses 1112).

Ru5tK1ng requested to merge topic/default/remove-bot-crash into branch/default

Even though the bots are removed, the playerpawn could still tick and try to remove dynamiclights from an empty array causing a crash later on. This removes the playerpawn thinkers after the bot has been otherwise completely removed. I restricted this change to singleplayer since removing bots doesn't seem to cause the crash online.

Merge request reports