mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-04 02:49:23 +00:00
Exception on exit fix
This commit is contained in:
parent
cc8f711d09
commit
9159946de6
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ namespace ml_prm
|
||||||
// Game events
|
// Game events
|
||||||
internal void OnAvatarClear()
|
internal void OnAvatarClear()
|
||||||
{
|
{
|
||||||
if(m_enabled)
|
if(m_enabled && (MovementSystem.Instance != null))
|
||||||
MovementSystem.Instance.SetImmobilized(false);
|
MovementSystem.Instance.SetImmobilized(false);
|
||||||
|
|
||||||
if(m_puppet != null)
|
if(m_puppet != null)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue