ThaPwned / WCS

Warcraft: Source using Source.Python to be faster, expandable, and flexible
GNU General Public License v3.0
30 stars 23 forks source link

Translation issues #56

Closed NosferatuJoe closed 3 years ago

NosferatuJoe commented 3 years ago

Translation support for races is a blessing and greatly appreciated. I just started using the feature and testing it, sadly I stumbled upon an unexpected "feature".

You can find the issue reports and corresponding screenshots here: https://github.com/ManifestManah/Racepack-Standard/issues

In a nuttshell, event_var(attacker) is being treated as event_var(userid) for some reason.

This is regarding centertell, haven't tested it with es_tell yet.

NosferatuJoe commented 3 years ago

This has been fixed by using es_xdelayed instead of es_delayed. This issue occured because when using es_delayed the variables would be expanded instantly and not after the delay. es_xdelayed makes the variable expand after delay, thus fixing the issue.