mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-28 07:38:35 +01:00
Fixes unpowered vr pods trapping occupant
Lack of avatar here meant a runtime that would block the pod from ever reaching the part where the occupant actually gets released.
This commit is contained in:
@@ -185,7 +185,8 @@
|
||||
if(!forced && avatar && alert(avatar, "Someone wants to remove you from virtual reality. Do you want to leave?", "Leave VR?", "Yes", "No") == "No")
|
||||
return
|
||||
|
||||
avatar.exit_vr()
|
||||
if(avatar)
|
||||
avatar.exit_vr()
|
||||
avatar = null
|
||||
|
||||
if(occupant.client)
|
||||
|
||||
Reference in New Issue
Block a user