Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
This genuinely looks better than sleep.

Co-authored-by: harryob <[email protected]>
  • Loading branch information
blackdragonTOW and harryob authored Jun 24, 2023
1 parent 85ee00b commit 3575d87
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions code/modules/cm_marines/dropship_ammo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,8 @@

/obj/structure/ship_ammo/rocket/bunkerbuster/detonate_on(turf/impact)
impact.ceiling_debris_check(3)
sleep(5)
cell_explosion(impact, 450, 100, EXPLOSION_FALLOFF_SHAPE_EXPONENTIAL, null, create_cause_data(initial(name), source_mob)) //See Keeper comments: However this is able to penetrate cave ceilings.
qdel(src)
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(cell_explosion), impact, 450, 100, EXPLOSION_FALLOFF_SHAPE_EXPONENTIAL, null, create_cause_data(initial(name)), source_mob), 0.5 SECONDS) //See Keeper comments: However this is able to penetrate cave ceilings.
QDEL_IN(src, 0.5 SECONDS)

/obj/structure/ship_ammo/rocket/harpoon
name = "\improper AGM-84 'Harpoon'"
Expand Down

0 comments on commit 3575d87

Please sign in to comment.