mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 20:57:23 +01:00
Earlyports fix for inavtive vr pod traps
Fixes inactive vr pods trapping the occupant due to a runtime error preventing the code from releasing the occupant.
This commit is contained in:
@@ -185,7 +185,8 @@
|
||||
if(!forced && avatar && tgui_alert(avatar, "Someone wants to remove you from virtual reality. Do you want to leave?", "Leave VR?", list("Yes", "No")) == "No")
|
||||
return
|
||||
|
||||
avatar.exit_vr()
|
||||
if(avatar)
|
||||
avatar.exit_vr()
|
||||
avatar = null
|
||||
|
||||
if(occupant.client)
|
||||
|
||||
Reference in New Issue
Block a user