Skip to content

Alias recursion hotfix

Monster Iestyn requested to merge alias-recursion-hotfix into next

This prevents the game from getting stuck in a recursion cycle (and later crashing) if you used the console command alias in silly ways such as the following:

alias srb2 srb2
srb2

or

alias srb2 6
alias 6 srb2
srb2

More specifically, the game now throws a warning at you if it goes through aliases more than 100 times while executing a command in the console.

Merge request reports