Skip to content

Commit

Permalink
fix damage
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapu1178 committed Aug 2, 2023
1 parent 97d9e77 commit f55073d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@
LAZYCLEARLIST(cached_tentacle_turfs)
last_location = loc
tentacle_recheck_cooldown = world.time + initial(tentacle_recheck_cooldown)
for(var/turf/open/T in RANGE_TURFS(4, loc))
var/list/nearby_turfs = RANGE_TURFS(4, loc)
var/nearby_turfs -= get_turf(src)

Check failure on line 169 in code/modules/mob/living/simple_animal/hostile/mining_mobs/goliath.dm

View workflow job for this annotation

GitHub Actions / Run Linters

got '-=', expected one of: '/', '[', '=', as, 'in', ',', ';'
for(var/turf/open/T in nearby_turfs)
LAZYADD(cached_tentacle_turfs, T)
for(var/t in cached_tentacle_turfs)
if(isopenturf(t))
Expand Down
5 changes: 0 additions & 5 deletions code/modules/surgery/bodyparts/_bodyparts.dm
Original file line number Diff line number Diff line change
Expand Up @@ -579,10 +579,6 @@

if(can_inflict <= 0)
return FALSE
if(brute)
set_brute_dam(brute_dam + brute)
if(burn)
set_burn_dam(burn_dam + burn)

update_damage()
if(owner)
Expand Down Expand Up @@ -654,7 +650,6 @@

//update damage counts
for(var/datum/wound/W as anything in wounds)

if(W.damage <= 0)
qdel(W)
continue
Expand Down

0 comments on commit f55073d

Please sign in to comment.