Skip to content

Improve crash safety and resolve cfg path using GameDirectory#270

Open
wiruwiru wants to merge 2 commits intoB3none:masterfrom
wiruwiru:v3.0.4
Open

Improve crash safety and resolve cfg path using GameDirectory#270
wiruwiru wants to merge 2 commits intoB3none:masterfrom
wiruwiru:v3.0.4

Conversation

@wiruwiru
Copy link
Copy Markdown
Contributor

Changes have been made to prevent potential crashes when using the !showspawns command, as described in issue #258. Although I haven't been able to reproduce the crash, the code has been updated to make it more robust.

Additionally, the logic used to create and resolve the configuration (cfg) file path has been improved. The new implementation relies on GameDirectory, ensuring better compatibility across different server and folder structures. This addresses the problem described in issue #261.

@wiruwiru wiruwiru marked this pull request as ready for review March 25, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant