CI now bans the use of weird spacing in conditionals (#22777)

* no more spaces

* Matthew 10:22

* fixes

* dgamerl review

* Update code/modules/hydroponics/plant_genes.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Update code/modules/mob/living/simple_animal/bot/ed209bot.dm

* Update code/modules/mob/mob.dm

* Update code/modules/mob/mob.dm

* Update code/modules/mob/mob.dm

* Update code/modules/mob/mob.dm

* Update code/modules/mob/mob.dm

* Update code/modules/pda/PDA.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* fuck

* bah

* Update tools/ci/check_grep2.py

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* oops

* guh

---------

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
Contrabang
2023-11-12 15:59:43 -05:00
committed by GitHub
parent 35754c77ea
commit 48d7b00a0d
204 changed files with 562 additions and 544 deletions

View File

@@ -131,14 +131,14 @@
/datum/light_source/proc/remove_lum()
applied = FALSE
var/thing
for (thing in affecting_turfs)
for(thing in affecting_turfs)
var/turf/T = thing
LAZYREMOVE(T.affecting_lights, src)
affecting_turfs = null
var/datum/lighting_corner/C
for (thing in effect_str)
for(thing in effect_str)
C = thing
REMOVE_CORNER(C)
@@ -239,19 +239,19 @@
LAZYINITLIST(affecting_turfs)
var/list/L = turfs - affecting_turfs // New turfs, add us to the affecting lights of them.
affecting_turfs += L
for (thing in L)
for(thing in L)
T = thing
LAZYADD(T.affecting_lights, src)
L = affecting_turfs - turfs // Now-gone turfs, remove us from the affecting lights.
affecting_turfs -= L
for (thing in L)
for(thing in L)
T = thing
LAZYREMOVE(T.affecting_lights, src)
LAZYINITLIST(effect_str)
if(needs_update == LIGHTING_VIS_UPDATE)
for (thing in corners - effect_str) // New corners
for(thing in corners - effect_str) // New corners
C = thing
LAZYADD(C.affecting, src)
if(!C.active)
@@ -260,7 +260,7 @@
APPLY_CORNER(C)
else
L = corners - effect_str
for (thing in L) // New corners
for(thing in L) // New corners
C = thing
LAZYADD(C.affecting, src)
if(!C.active)
@@ -268,7 +268,7 @@
continue
APPLY_CORNER(C)
for (thing in corners - L) // Existing corners
for(thing in corners - L) // Existing corners
C = thing
if(!C.active)
effect_str[C] = 0
@@ -276,7 +276,7 @@
APPLY_CORNER(C)
L = effect_str - corners
for (thing in L) // Old, now gone, corners.
for(thing in L) // Old, now gone, corners.
C = thing
REMOVE_CORNER(C)
LAZYREMOVE(C.affecting, src)