Skip to content

Commit

Permalink
Add missing qdel message
Browse files Browse the repository at this point in the history
  • Loading branch information
WeNeedMorePhoron committed May 23, 2023
1 parent 220d08b commit 751ae63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/projectiles/projectile.dm
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@
/obj/item/projectile/Process()
var/first_step = TRUE

while(!QDELETED(src) && src.loc)
while(!QDELETED(src) && src.loc) // Occulus Edit: Removed the horrible spawn while(src) and replaced with !QDELETED(src)
if(kill_count-- < 1)
on_impact(src.loc) //for any final impact behaviours
qdel(src)
Expand Down

0 comments on commit 751ae63

Please sign in to comment.