You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getRelativeNumber() don't trim args. If the arg is number type the Number() can handle it; else if it's relatived string, it will miss the if-case because the whitespace and return wrong number 0.
reproduction (just edit room from dialog doc's example):
{draw "type, source, +1, +1, room"} // will wrong draw at (0, 0)
The text was updated successfully, but these errors were encountered:
getRelativeNumber()
don't trim args. If the arg is number type theNumber()
can handle it; else if it's relatived string, it will miss theif-case
because the whitespace and return wrong number 0.reproduction (just
edit room from dialog
doc's example):The text was updated successfully, but these errors were encountered: