Skip to content

Commit

Permalink
adds the autoturf too
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuuhuuuu committed Apr 3, 2024
1 parent 8544c97 commit a9d048c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion code/game/turfs/auto_turf.dm
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@

while(bleed_layer > 0)
xeno_attack_delay(M)
if(!do_after(M, 12, INTERRUPT_ALL, BUSY_ICON_FRIENDLY))
var/size = max(M.mob_size, 1)
if(!do_after(M, 12/size, INTERRUPT_ALL, BUSY_ICON_FRIENDLY))
return XENO_NO_DELAY_ACTION

if(!bleed_layer)
Expand Down
3 changes: 2 additions & 1 deletion code/modules/mob/living/carbon/xenomorph/attack_alien.dm
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,8 @@

while(bleed_layer > 0)
xeno_attack_delay(M)
if(!do_after(M, 12/M.mob_size, INTERRUPT_ALL, BUSY_ICON_FRIENDLY))
var/size = max(M.mob_size, 1)
if(!do_after(M, 12/size, INTERRUPT_ALL, BUSY_ICON_FRIENDLY))
return XENO_NO_DELAY_ACTION

if(!bleed_layer)
Expand Down

0 comments on commit a9d048c

Please sign in to comment.