Skip to content

Commit

Permalink
Fixed #9077
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Sep 20, 2023
1 parent d7e0aea commit cc4efdd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/mindustry/logic/LExecutor.java
Original file line number Diff line number Diff line change
Expand Up @@ -858,8 +858,10 @@ public void run(LExecutor exec){

if(!v.constant){
if(f.isobj){
v.objval = f.objval;
v.isobj = true;
if(to != varCounter){
v.objval = f.objval;
v.isobj = true;
}
}else{
v.numval = invalid(f.numval) ? 0 : f.numval;
v.isobj = false;
Expand Down

0 comments on commit cc4efdd

Please sign in to comment.