forked from Mirrors/openclonk
libraries: remove power system before ownership
parent
121af3459e
commit
97900a1278
|
@ -184,9 +184,11 @@ public func Construction()
|
|||
|
||||
public func Destruction()
|
||||
{
|
||||
// Important: first process other libraries like the power library which removes links
|
||||
// from the network and then handle ownership removal.
|
||||
_inherited(...);
|
||||
RemoveOwnership();
|
||||
|
||||
return _inherited(...);
|
||||
return;
|
||||
}
|
||||
|
||||
private func AddOwnership()
|
||||
|
|
Loading…
Reference in New Issue