mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
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:
@@ -210,7 +210,7 @@ GLOBAL_LIST_INIT(conveyor_switches, list())
|
||||
return
|
||||
|
||||
var/move_time = 0
|
||||
if (slow_factor>1) // yes, 1 is special
|
||||
if(slow_factor>1) // yes, 1 is special
|
||||
move_time=CEILING(slow_factor, 2) // yes.
|
||||
AM.Move(get_step(loc, forwards), forwards, move_time)
|
||||
|
||||
@@ -390,7 +390,7 @@ GLOBAL_LIST_INIT(conveyor_switches, list())
|
||||
switch(action)
|
||||
if("slowFactor")
|
||||
var/value = text2num(params["value"])
|
||||
if (value!=null)
|
||||
if(value!=null)
|
||||
slow_factor = clamp(value, 1, 50)
|
||||
if("toggleOneWay")
|
||||
if(position != DIRECTION_REVERSED) // If you want to forbid reversing - stop using reverse first!
|
||||
|
||||
@@ -400,8 +400,8 @@
|
||||
return
|
||||
|
||||
flush_count++
|
||||
if( flush_count >= flush_every_ticks )
|
||||
if( contents.len )
|
||||
if(flush_count >= flush_every_ticks)
|
||||
if(contents.len)
|
||||
if(mode == 2)
|
||||
spawn(0)
|
||||
flush()
|
||||
@@ -409,7 +409,7 @@
|
||||
|
||||
src.updateDialog()
|
||||
|
||||
if(flush && air_contents.return_pressure() >= SEND_PRESSURE ) // flush can happen even without power
|
||||
if(flush && air_contents.return_pressure() >= SEND_PRESSURE) // flush can happen even without power
|
||||
flush()
|
||||
|
||||
if(stat & NOPOWER) // won't charge if no power
|
||||
|
||||
@@ -198,7 +198,7 @@
|
||||
return FALSE
|
||||
D.init_welded = C.welded
|
||||
C.welded = TRUE
|
||||
else if (target.GetComponent(/datum/component/two_handed))
|
||||
else if(target.GetComponent(/datum/component/two_handed))
|
||||
to_chat(user, "<span class='notice'>[target] is too unwieldy to wrap effectively.</span>")
|
||||
return FALSE
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user