mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
Merge pull request #8364 from Verkister/patch-83
Fixes inactive vr pods trapping 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