mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user