mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
[MIRROR] fix vorepanel button for AI (#11737)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
03fd0a5ef9
commit
0e057e99fb
@@ -40,16 +40,19 @@
|
||||
return //no! I don't want that.
|
||||
|
||||
|
||||
if (isnull(viewer_client))
|
||||
if(isnull(viewer_client))
|
||||
return
|
||||
|
||||
if (isbelly(src.loc))
|
||||
if(isbelly(src.loc))
|
||||
return
|
||||
|
||||
var/bound_width = world.icon_size
|
||||
if (ismovable(src))
|
||||
if(ismovable(src))
|
||||
var/atom/movable/movable_source = src
|
||||
bound_width = movable_source.bound_width
|
||||
if(isrobot(src) || isanimal(src))
|
||||
bound_width += get_oversized_icon_offsets()["x"]
|
||||
|
||||
|
||||
var/image/balloon_alert = image(loc = isturf(src) ? src : get_atom_on_turf(src), layer = ABOVE_MOB_LAYER)
|
||||
balloon_alert.plane = PLANE_RUNECHAT
|
||||
|
||||
Reference in New Issue
Block a user