mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
Merge pull request #12038 from Shadow-Quill/AI-APC-Fix
Fixes APC menus not opening after the powerloss hack
This commit is contained in:
@@ -107,6 +107,8 @@
|
||||
aiRestorePowerRoutine = 0
|
||||
update_blind_effects()
|
||||
update_sight()
|
||||
to_chat(src, "Here are your current laws:")
|
||||
show_laws()
|
||||
return
|
||||
|
||||
switch(PRP)
|
||||
@@ -126,8 +128,6 @@
|
||||
theAPC.attack_ai(src)
|
||||
apc_override = 0
|
||||
aiRestorePowerRoutine = 3
|
||||
to_chat(src, "Here are your current laws:")
|
||||
src.show_laws() //WHY THE FUCK IS THIS HERE
|
||||
sleep(50)
|
||||
theAPC = null
|
||||
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
return STATUS_UPDATE // Ghosts can view updates
|
||||
|
||||
/mob/living/silicon/ai/shared_nano_interaction()
|
||||
if(apc_override)
|
||||
return STATUS_INTERACTIVE
|
||||
if(lacks_power())
|
||||
return STATUS_CLOSE
|
||||
if(check_unable(1, 0))
|
||||
|
||||
Reference in New Issue
Block a user