Skip to content

Alias recursion hotfix 2

Monster Iestyn requested to merge alias_recursion_hotfix_2 into master

Sequel to !314 (merged), fixes another case of infinite self-recursion with the alias command, but this time involving other commands in-between, such as in:

alias a "echo test; a"; a

After 100 prints of "test" the game will have had enough and will throw the alias recursion cycle warning at you.

Now, unfortunately, this does not fix similar scenarios involving wait, including the case where you don't specify a time at all. But that would be more complicated to fix anyway.

Merge request reports

Loading