mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +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:
@@ -366,7 +366,7 @@
|
||||
if(pin_text)
|
||||
input_element = usr.mind.initial_account.account_pin
|
||||
topic_href_write(id, input_element)
|
||||
if(href_list["write"] )
|
||||
if(href_list["write"])
|
||||
var/id = href_list["write"]
|
||||
var/input_element = input("Enter what you want to write:", "Write", null, null) as message
|
||||
topic_href_write(id, input_element)
|
||||
@@ -442,7 +442,7 @@
|
||||
to_chat(user, "<span class='warning'>You don't know how to write!</span>")
|
||||
|
||||
else if(istype(P, /obj/item/stamp))
|
||||
if((!in_range(src, usr) && loc != user && !( istype(loc, /obj/item/clipboard) ) && loc.loc != user && user.get_active_hand() != P))
|
||||
if((!in_range(src, usr) && loc != user && !( istype(loc, /obj/item/clipboard)) && loc.loc != user && user.get_active_hand() != P))
|
||||
return
|
||||
|
||||
if(istype(P, /obj/item/stamp/clown))
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
W = photocopy(W, bundled = TRUE)
|
||||
if(use_toner && W)
|
||||
toner -= 5
|
||||
if (!W)
|
||||
if(!W)
|
||||
break
|
||||
W.forceMove(P)
|
||||
P.amount++
|
||||
|
||||
@@ -132,10 +132,10 @@
|
||||
|
||||
if(ishuman(usr))
|
||||
var/mob/M = usr
|
||||
if(!( istype(over_object, /obj/screen) ))
|
||||
if(!istype(over_object, /obj/screen))
|
||||
return ..()
|
||||
playsound(loc, "rustle", 50, 1, -5)
|
||||
if((!( M.restrained() ) && !( M.stat ) && M.back == src))
|
||||
if((!M.restrained() && !M.stat && M.back == src))
|
||||
switch(over_object.name)
|
||||
if("r_hand")
|
||||
M.unEquip(src)
|
||||
|
||||
Reference in New Issue
Block a user