Fixes singleletter vars in mobs.dm and blood.dm (#90284)

## About The Pull Request

Just found this whilst working on something else downstream, why not fix
it

## Why It's Good For The Game

Something something readable bleeding.

## Changelog
🆑
code: The mobs subsystem and blood.dm file for living mobs no longer use
single letter vars
/🆑
This commit is contained in:
Waterpig
2025-03-28 18:31:09 +01:00
committed by GitHub
parent 6563807b7d
commit 92bf2aa63e
2 changed files with 53 additions and 58 deletions
+4 -4
View File
@@ -35,11 +35,11 @@ SUBSYSTEM_DEF(mobs)
var/times_fired = src.times_fired
var/seconds_per_tick = wait / (1 SECONDS)
while(currentrun.len)
var/mob/living/L = currentrun[currentrun.len]
var/mob/living/processing_mob = currentrun[currentrun.len]
currentrun.len--
if(L)
L.Life(seconds_per_tick, times_fired)
if(processing_mob)
processing_mob.Life(seconds_per_tick, times_fired)
else
GLOB.mob_living_list.Remove(L)
GLOB.mob_living_list.Remove(processing_mob)
if (MC_TICK_CHECK)
return