Fixes various bugs: off-ship cameras, ghost role AOOC, hologram text message, adjacency Z-checking. (#13959)

This commit is contained in:
Matt Atlas
2022-05-16 16:17:24 +02:00
committed by GitHub
parent a4cec7b0df
commit 2506c57396
11 changed files with 70 additions and 8 deletions

View File

@@ -125,6 +125,10 @@
A.client.eye = A.eyeobj
return TRUE
if(!is_contact_area(get_area(C)))
to_chat(user, SPAN_NOTICE("This camera is too far away to connect to!"))
return FALSE
set_current(C)
user.machine = ui_host()
user.reset_view(current_camera)

View File

@@ -137,6 +137,10 @@
A.client.eye = A.eyeobj
return TRUE
if(!is_contact_area(get_area(C)))
to_chat(user, SPAN_NOTICE("This camera is too far away to connect to!"))
return FALSE
set_current(C)
user.machine = ui_host()
user.reset_view(current_camera)