mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
More Minor pAI bugfixes
- Closing a pAI turns off resting. - Wiping a mobile pAI now works correctly. (Probably want to fix being able to do this in the first place)
This commit is contained in:
@@ -250,6 +250,10 @@
|
||||
M << "<font color = #ff4d4d><h3>Byte by byte you lose your sense of self.</h3></font>"
|
||||
M << "<font color = #ff8787><h4>Your mental faculties leave you.</h4></font>"
|
||||
M << "<font color = #ffc4c4><h5>oblivion... </h5></font>"
|
||||
var/mob/living/silicon/pai/P = M
|
||||
if(istype(P))
|
||||
if(P.resting || P.canmove)
|
||||
P.close_up()
|
||||
M.death(0)
|
||||
removePersonality()
|
||||
if(href_list["wires"])
|
||||
|
||||
@@ -424,7 +424,7 @@
|
||||
/mob/living/silicon/pai/proc/close_up()
|
||||
|
||||
last_special = world.time + 200
|
||||
|
||||
resting = 0
|
||||
if(src.loc == card)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user