mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] usr to user up to player effects (#9552)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a7e4ef7dad
commit
0180cc74c5
@@ -44,7 +44,7 @@
|
||||
if(aiCamera && aiCamera.in_camera_mode)
|
||||
aiCamera.camera_mode_off()
|
||||
if(is_component_functioning("camera"))
|
||||
aiCamera.captureimage(A, usr)
|
||||
aiCamera.captureimage(A, src)
|
||||
else
|
||||
to_chat(src, span_userdanger("Your camera isn't functional."))
|
||||
return
|
||||
|
||||
@@ -396,7 +396,7 @@ var/list/global_huds = list(
|
||||
set hidden = 1
|
||||
|
||||
if(!hud_used)
|
||||
to_chat(usr, span_warning("This mob type does not use a HUD."))
|
||||
to_chat(src, span_warning("This mob type does not use a HUD."))
|
||||
return FALSE
|
||||
if(!client)
|
||||
return FALSE
|
||||
|
||||
@@ -282,11 +282,11 @@ var/obj/screen/robot_inventory
|
||||
//r.client.screen += robot_inventory //"store" icon
|
||||
|
||||
if(!r.module)
|
||||
to_chat(usr, span_danger("No module selected"))
|
||||
to_chat(r, span_danger("No module selected"))
|
||||
return
|
||||
|
||||
if(!r.module.modules)
|
||||
to_chat(usr, span_danger("Selected module has no modules to select"))
|
||||
to_chat(r, span_danger("Selected module has no modules to select"))
|
||||
return
|
||||
|
||||
if(!r.robot_modules_background)
|
||||
|
||||
Reference in New Issue
Block a user