Skip to content

Comments

Fix broken parsing of settings.scr variables and defer application until server start via menu#146

Merged
a1batross merged 1 commit intoFWGS:masterfrom
Vladislav4KZ:scrparser-fix
Feb 13, 2026
Merged

Fix broken parsing of settings.scr variables and defer application until server start via menu#146
a1batross merged 1 commit intoFWGS:masterfrom
Vladislav4KZ:scrparser-fix

Conversation

@Vladislav4KZ
Copy link
Member

This PR fixes broken parsing of values from settings.scr introduced in the last commit, which caused empty or default values to be used in the Create game section.
The values of variables from settings.scr are no longer applied immediately; they are now only used for display in the menu and are applied only after the server is started via the menu.

Entering the map command simply launches the map with the current cvar values, which can still be changed during runtime, either by the user or by MainUI if the server was previously started through it.

@a1batross a1batross merged commit d0e23a3 into FWGS:master Feb 13, 2026
@Vladislav4KZ Vladislav4KZ deleted the scrparser-fix branch February 13, 2026 16:57
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.

2 participants