ribrdb / desynced-tools

Tools for working with behaviors and blueprints from Desynced.
MIT License
4 stars 3 forks source link

Fix argument of methods with thisArg #42

Closed swazrgb closed 6 months ago

swazrgb commented 6 months ago

Previously the following code:

    let closest = v.nearerThan(signal);
    if(closest) {
        notify("a");
    } else {
        notify("b");
    }

Would generate

select_nearest  :l1, :l2, p1