Skip to content

Commit

Permalink
Fire Support Menu GAU and Laser fixes (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
GriffinMan4455 authored Oct 21, 2024
1 parent ea4ae75 commit 882842a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/cm_marines/dropship_ammo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
for(var/i = 1 to ammo_used_per_firing)
sleep(1)
var/turf/impact_tile = pick(turf_list)
var/datum/cause_data/cause_data = create_cause_data(fired_from.name, source_mob)
var/datum/cause_data/cause_data = create_cause_data(fired_from?.name, source_mob)
impact_tile.ex_act(EXPLOSION_THRESHOLD_VLOW, pick(GLOB.alldirs), cause_data)
create_shrapnel(impact_tile,1,0,0,shrapnel_type,cause_data,FALSE,100) //simulates a bullet
for(var/atom/movable/explosion_effect in impact_tile)
Expand Down Expand Up @@ -246,7 +246,7 @@
for(var/i=1 to 16) //This is how many tiles within that area of effect will be randomly ignited
var/turf/U = pick(turf_list)
turf_list -= U
fire_spread_recur(U, create_cause_data(fired_from.name, source_mob), 1, null, 5, 75, "#EE6515")//Very, very intense, but goes out very quick
fire_spread_recur(U, create_cause_data(fired_from?.name, source_mob), 1, null, 5, 75, "#EE6515")//Very, very intense, but goes out very quick

if(!ammo_count && !QDELETED(src))
qdel(src) //deleted after last laser beam is fired and impact the ground.
Expand Down

0 comments on commit 882842a

Please sign in to comment.