mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-26 22:10:17 +00:00
explode exception-safe
This commit is contained in:
parent
d4078d250e
commit
d98643e70c
1 changed files with 5 additions and 0 deletions
|
@ -82,6 +82,11 @@ namespace SanAndreasUnity.Behaviours.Vehicles
|
|||
}
|
||||
|
||||
public void Explode()
|
||||
{
|
||||
F.RunExceptionSafe(() => this.ExplodeInternal());
|
||||
}
|
||||
|
||||
private void ExplodeInternal()
|
||||
{
|
||||
if (m_alreadyExploded)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue