No autorun option to force commands to run.
zakarybk opened this issue · comments
Background
So right now you can execute commands with fpsbooster_file run filename.txt
and swap run
to forcerun
if the commands cannot be reverted to (cvars.String() returns nil).
Problem
However the default fpsbooster_autorun enable filename.txt
uses run
instead of forcerun
so not all commands may be executed when the script starts.
Why the block is in place
The block is in place because the commands which are blocked cannot have their values read, so fpsbooster_revert
will not be able to revert their values to what they were before.
Resolution
This could be resolved by adding a fpsbooster_autorun forceenable filename.txt
command and adding a new file tag [forceautorun]
.