Bools and returns super-pr (#53221)

Replaces like 70-80% of 0 and such, as a side effect cleaned up a bunch of returns
Edit: Most left out ones are in mecha which should be done in mecha refactor already
Oh my look how clean it is

Co-authored-by: TiviPlus <TiviPlus>
Co-authored-by: Couls <coul422@gmail.com>
This commit is contained in:
TiviPlus
2020-08-28 23:26:37 +02:00
committed by GitHub
parent cb49d3301b
commit ca366c3ea1
355 changed files with 1549 additions and 1591 deletions
+3 -3
View File
@@ -95,7 +95,7 @@
/datum/admins/proc/Secrets_topic(item,href_list)
var/datum/round_event/E
var/ok = 0
var/ok = FALSE
switch(item)
if("admin_log")
var/dat = "<B>Admin Log<HR></B>"
@@ -290,7 +290,7 @@
for(var/i in GLOB.human_list)
var/mob/living/carbon/human/H = i
INVOKE_ASYNC(H, /mob/living/carbon.proc/monkeyize)
ok = 1
ok = TRUE
if("allspecies")
if(!check_rights(R_FUN))
@@ -709,7 +709,7 @@
to_chat(world, text("<B>A secret has been activated by []!</B>", usr.key), confidential = TRUE)
/proc/portalAnnounce(announcement, playlightning)
set waitfor = 0
set waitfor = FALSE
if (playlightning)
sound_to_playing_players('sound/magic/lightning_chargeup.ogg')
sleep(80)