explode exception-safe

This commit is contained in:
in0finite 2020-06-20 20:17:22 +02:00
parent d4078d250e
commit d98643e70c

View file

@ -82,6 +82,11 @@ namespace SanAndreasUnity.Behaviours.Vehicles
}
public void Explode()
{
F.RunExceptionSafe(() => this.ExplodeInternal());
}
private void ExplodeInternal()
{
if (m_alreadyExploded)
return;