Fixes Poly (#2598)

This commit is contained in:
Poojawa
2017-09-04 09:08:25 -05:00
committed by GitHub
parent 5f1d88ffeb
commit 362b4b5a16
@@ -296,7 +296,7 @@
else
parrot_state |= PARROT_FLEE //Otherwise, fly like a bat out of hell!
drop_held_item(0)
if(!stat && M.a_intent == INTENT_HELP)
if(stat != DEAD && M.a_intent == INTENT_HELP)
handle_automated_speech(1) //assured speak/emote
return
@@ -945,7 +945,7 @@
speech_buffer = list()
/mob/living/simple_animal/parrot/Poly/proc/Write_Memory()
var/json_file = file("data/npc_saves/Punpun.json")
var/json_file = file("data/npc_saves/Poly.json")
var/list/file_data = list()
if(islist(speech_buffer))
file_data["phrases"] = speech_buffer