Fix some busted logic (#19105)

This commit is contained in:
AffectedArc07
2022-09-19 13:00:37 +01:00
committed by GitHub
parent 6f61357dc5
commit 3975e3531d
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -253,7 +253,8 @@
H.equipOutfit(outfit)
for(var/del_type in del_types)
var/obj/item/I = locate(del_type) in H
qdel(I)
if(I)
qdel(I)
if(disable_pda)
// We don't want corpse PDAs to show up in the messenger list.
@@ -42,7 +42,7 @@
/mob/living/simple_animal/hostile/megafauna/Initialize(mapload)
. = ..()
if(internal_gps && true_spawn)
internal = new internal_gps(src)
internal_gps = new internal_gps(src)
for(var/action_type in attack_action_types)
var/datum/action/innate/megafauna_attack/attack_action = new action_type()
attack_action.Grant(src)