Skip to content

Commit

Permalink
makes checks happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Gristlebee committed Sep 4, 2024
1 parent f8de75c commit f8b8108
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions code/modules/mob/living/simple_animal/hostile/megafauna/drake.dm
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Difficulty: Medium
var/increment = 360 / spiral_count
for(var/j = 1 to spiral_count)
var/list/turfs = line_target(j * increment + i * increment / 2, range, src)
INVOKE_ASYNC(src, PROC_REF(fire_line), turfs)
INVOKE_ASYNC(src, PROC_REF(dragon_fire_line), turfs)
SLEEP_CHECK_DEATH(25)
SetRecoveryTime(30)

Expand Down Expand Up @@ -250,11 +250,11 @@ Difficulty: Medium
var/range = 15
var/list/turfs = list()
turfs = line_target(-40, range, at)
INVOKE_ASYNC(src, PROC_REF(fire_line), turfs)
INVOKE_ASYNC(src, PROC_REF(dragon_fire_line), turfs)
turfs = line_target(0, range, at)
INVOKE_ASYNC(src, PROC_REF(fire_line), turfs)
INVOKE_ASYNC(src, PROC_REF(dragon_fire_line), turfs)
turfs = line_target(40, range, at)
INVOKE_ASYNC(src, PROC_REF(fire_line), turfs)
INVOKE_ASYNC(src, PROC_REF(dragon_fire_line), turfs)

/mob/living/simple_animal/hostile/megafauna/dragon/proc/line_target(offset, range, atom/at = target)
if(!at)
Expand All @@ -268,7 +268,7 @@ Difficulty: Medium
T = check
return (getline(src, T) - get_turf(src))

/mob/living/simple_animal/hostile/megafauna/dragon/proc/fire_line(list/turfs)
/mob/living/simple_animal/hostile/megafauna/dragon/proc/dragon_fire_line(list/turfs)
SLEEP_CHECK_DEATH(0)
fire_line(src, turfs)

Expand Down
4 changes: 2 additions & 2 deletions code/modules/mob/living/simple_animal/hostile/space_dragon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
if(D.density)
return
delayFire += 1.5
addtimer(CALLBACK(src, PROC_REF(fire_line), T), delayFire)
addtimer(CALLBACK(src, PROC_REF(dragon_fire_line), T), delayFire)

/**
* What occurs on each tile to actually create the fire.
Expand All @@ -209,7 +209,7 @@
* Arguments:
* * turf/T - The turf to trigger the effects on.
*/
/mob/living/simple_animal/hostile/space_dragon/proc/fire_line(turf/T)
/mob/living/simple_animal/hostile/space_dragon/proc/dragon_fire_line(turf/T)
var/list/hit_list = list()
hit_list += src
new /obj/effect/hotspot(T)
Expand Down

0 comments on commit f8b8108

Please sign in to comment.