mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-04 14:33:30 +00:00
Merge pull request #6578 from Mechoid/FixCyborgOnClick
Add sanity check to cyborg _onclick.
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
|
||||
face_atom(A) // change direction to face what you clicked on
|
||||
|
||||
if(aiCamera.in_camera_mode)
|
||||
if(aiCamera && aiCamera.in_camera_mode)
|
||||
aiCamera.camera_mode_off()
|
||||
if(is_component_functioning("camera"))
|
||||
aiCamera.captureimage(A, usr)
|
||||
|
||||
Reference in New Issue
Block a user