mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user