mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-19 12:07:13 +01:00
Clear vehicle instances on server shutdown or plugin reload. Should close #9
This commit is contained in:
parent
8e0a9edb3e
commit
36e3ed8f7a
@ -413,11 +413,12 @@ void Core::Terminate()
|
|||||||
}
|
}
|
||||||
// Release all entity resources by clearing the containers
|
// Release all entity resources by clearing the containers
|
||||||
m_Players.clear();
|
m_Players.clear();
|
||||||
m_Blips.clear();
|
m_Vehicles.clear();
|
||||||
m_Keybinds.clear();
|
|
||||||
m_Objects.clear();
|
m_Objects.clear();
|
||||||
m_Pickups.clear();
|
m_Pickups.clear();
|
||||||
m_Checkpoints.clear();
|
m_Checkpoints.clear();
|
||||||
|
m_Blips.clear();
|
||||||
|
m_Keybinds.clear();
|
||||||
// Release all resources from routines
|
// Release all resources from routines
|
||||||
TerminateRoutines();
|
TerminateRoutines();
|
||||||
// Release all resources from command manager
|
// Release all resources from command manager
|
||||||
|
Loading…
x
Reference in New Issue
Block a user