mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
Crash fix
This commit is contained in:
parent
1eb70404d7
commit
eeefdd8054
3 changed files with 8 additions and 3 deletions
|
|
@ -214,7 +214,10 @@ public class Units{
|
|||
}
|
||||
});
|
||||
|
||||
return buildResult;
|
||||
var result = buildResult;
|
||||
buildResult = null;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Iterates through all buildings in a range. */
|
||||
|
|
|
|||
|
|
@ -183,7 +183,9 @@ abstract class PlayerComp implements UnitController, Entityc, Syncc, Timerc, Dra
|
|||
if(!unit.isNull()){
|
||||
clearUnit();
|
||||
}
|
||||
lastReadUnit = justSwitchTo = justSwitchFrom = null;
|
||||
|
||||
lastReadUnit = Nulls.unit;
|
||||
justSwitchTo = justSwitchFrom = null;
|
||||
}
|
||||
|
||||
public void team(Team team){
|
||||
|
|
|
|||
|
|
@ -25,4 +25,4 @@ org.gradle.caching=true
|
|||
#used for slow jitpack builds; TODO see if this actually works
|
||||
org.gradle.internal.http.socketTimeout=100000
|
||||
org.gradle.internal.http.connectionTimeout=100000
|
||||
archash=f1e4bdee85
|
||||
archash=774bfa97b0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue