mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Fixes broken malf AI APC hacking NO-GBP (#82962)
I made a mistake in checking the return on malf_status for APCs and added an unnecessary ||; this amends that
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
/obj/machinery/power/apc/proc/malfhack(mob/living/silicon/ai/malf)
|
||||
if(!istype(malf))
|
||||
return
|
||||
if(get_malf_status(malf) != APC_AI_HACK_NO_SHUNT || get_malf_status(malf) != APC_AI_NO_HACK)
|
||||
if(get_malf_status(malf) != APC_AI_NO_HACK)
|
||||
return
|
||||
if(malf.malfhacking)
|
||||
to_chat(malf, span_warning("You are already hacking an APC!"))
|
||||
|
||||
Reference in New Issue
Block a user