Skip to content

Commit

Permalink
Fixes Flaky test create_and_destroy: Cannot execute null.is holding().
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Oct 22, 2024
1 parent 945c19d commit 55f07ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/items/devices/mines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
shrapnel_magnitude = 4

/obj/item/mine/pressure/explosive/fire/mine_effect(mob/victim)
if(victim.is_holding(src))//in case it's been picked up
if(victim?.is_holding(src))//in case it's been picked up
for(var/turf/T in view(4,victim))
T.IgniteTurf(15)
new /obj/effect/hotspot(T)
Expand Down

0 comments on commit 55f07ea

Please sign in to comment.