Fix scoreboard points sometimes being added multiple times
parent
d8b0bd4df8
commit
5d4dfd8cb5
|
@ -530,6 +530,7 @@ void COldObject::DestroyObject(DestructionType type, CObject* killer)
|
|||
pyroType = Gfx::PT_WPCHECK;
|
||||
}
|
||||
assert(pyroType != Gfx::PT_NULL);
|
||||
SetDying(DeathType::Exploding);
|
||||
m_engine->GetPyroManager()->Create(pyroType, this);
|
||||
|
||||
if ( Implements(ObjectInterfaceType::Programmable) )
|
||||
|
|
Loading…
Reference in New Issue