1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-11-11 14:56:10 +03:00

Comment fix

This commit is contained in:
Anuken 2021-02-08 12:23:56 -05:00
parent a13c9d0761
commit 49fe47f1f8

View File

@ -781,7 +781,7 @@ public class LExecutor{
Var vb = exec.var(b);
if(op.objFunction2 != null && va.isobj && vb.isobj){
//use object function if provided, and one of the variables is an object
//use object function if both are objects
exec.setnum(dest, op.objFunction2.get(exec.obj(a), exec.obj(b)));
}else{
//otherwise use the numeric function
@ -952,7 +952,7 @@ public class LExecutor{
boolean cmp;
if(op.objFunction != null && va.isobj && vb.isobj){
//use object function if provided, and one of the variables is an object
//use object function if both are objects
cmp = op.objFunction.get(exec.obj(value), exec.obj(compare));
}else{
cmp = op.function.get(exec.num(value), exec.num(compare));