mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
1.12's switch parser stops at the first switch it does not know, so any engine switch written after -config, -gluescript or -gamescript (such as -console) was ignored. Register ours in the engine's switch list before it parses, as 4.3.4 does with -config, and read -config and the script file paths back through the engine. Inline script code still comes from the raw command line, which now skips quoted text.