turtle/tlang: fix binary operators being backwards
This commit is contained in:
parent
4c2a89bba9
commit
05833e9f24
@ -304,7 +304,7 @@ function tlang.binary(func)
|
||||
local tos = statepop_num(state)
|
||||
local tos1 = statepop_num(state)
|
||||
|
||||
statepush_num(state, func(tos.value, tos1.value))
|
||||
statepush_num(state, func(tos1.value, tos.value))
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user