de-legacyfies xenobio computer actions (#28792)

Co-authored-by: Toastical <toast@toaster.com>
This commit is contained in:
Toastical
2025-04-04 05:09:28 +03:00
committed by GitHub
parent f955cdd9a6
commit dccdd6cd59
@@ -333,7 +333,7 @@
if(GLOB.cameranet.check_turf_vis(remote_eye.loc))
for(var/mob/living/simple_animal/slime/S in remote_eye.loc)
X.current_potion.attack__legacy__attackchain(S, C)
X.current_potion.interact_with_atom(S, C)
break
else
to_chat(owner, "<span class='notice'>Target is not near a camera. Cannot proceed.</span>")
@@ -411,7 +411,7 @@
to_chat(C, "<span class='warning'>No potion loaded.</span>")
return
if(mobarea.name == E.allowed_area || mobarea.xenobiology_compatible)
X.current_potion.attack__legacy__attackchain(S, C)
X.current_potion.interact_with_atom(S, C)
//Picks up slime
/obj/machinery/computer/camera_advanced/xenobio/proc/XenoSlimeClickShift(mob/living/user, mob/living/simple_animal/slime/S)