Initial work on machine explosions, I will need to update the API to allow finer control over what explodes
This commit is contained in:
parent
58b202a782
commit
0de43bfe2d
2 changed files with 12 additions and 9 deletions
|
@ -382,7 +382,10 @@ public abstract class CableMultipart extends Multipart implements IOccludingPart
|
|||
}
|
||||
|
||||
public final void resetNetwork() {
|
||||
network.removeElement(this);
|
||||
if(network != null){
|
||||
network.removeElement(this);
|
||||
}
|
||||
|
||||
network = null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue