mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 12:05:59 +01:00
[MIRROR] Adds spaces around logical operators [MDB IGNORE] (#18776)
* Adds spaces around logical operators * Update code/modules/admin/verbs/admingame.dm Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
This commit is contained in:
@@ -22,7 +22,7 @@ SUBSYSTEM_DEF(ambience)
|
||||
|
||||
//Check to see if the client exists and isn't held by a new player
|
||||
var/mob/client_mob = client_iterator?.mob
|
||||
if(isnull(client_iterator) || !client_mob ||isnewplayer(client_mob))
|
||||
if(isnull(client_iterator) || !client_mob || isnewplayer(client_mob))
|
||||
ambience_listening_clients -= client_iterator
|
||||
client_old_areas -= client_iterator
|
||||
continue
|
||||
|
||||
@@ -616,7 +616,7 @@ GLOBAL_LIST_EMPTY(the_station_areas)
|
||||
set name = "Load Away Mission"
|
||||
set category = "Admin.Events"
|
||||
|
||||
if(!holder ||!check_rights(R_FUN))
|
||||
if(!holder || !check_rights(R_FUN))
|
||||
return
|
||||
|
||||
|
||||
|
||||
@@ -310,7 +310,7 @@ SUBSYSTEM_DEF(networks)
|
||||
#ifdef DEBUG_NETWORKS
|
||||
ASSERT(tree && tree.len > 0) // this should be obvious but JUST in case.
|
||||
for(var/part in tree)
|
||||
if(!verify_network_name(part) || findtext(name,".")!=0) // and no stray dots
|
||||
if(!verify_network_name(part) || findtext(name,".") != 0) // and no stray dots
|
||||
stack_trace("network_list_to_string: Cannot create network with ([part]) of ([tree.Join(".")])")
|
||||
break
|
||||
#endif
|
||||
@@ -379,7 +379,7 @@ SUBSYSTEM_DEF(networks)
|
||||
/datum/controller/subsystem/networks/proc/create_network_simple(network_id)
|
||||
|
||||
var/datum/ntnet/network = networks[network_id]
|
||||
if(network!=null)
|
||||
if(network != null)
|
||||
return network // don't worry about it
|
||||
|
||||
/// Checks to make sure the network is valid. We log BOTH to mapping and telecoms
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/// Controls how many buckets should be kept, each representing a tick. (1 minutes worth)
|
||||
#define BUCKET_LEN (world.fps*1*60)
|
||||
/// Helper for getting the correct bucket for a given timer
|
||||
#define BUCKET_POS(timer) (((round((timer.timeToRun - timer.timer_subsystem.head_offset) / world.tick_lag)+1) % BUCKET_LEN)||BUCKET_LEN)
|
||||
#define BUCKET_POS(timer) (((round((timer.timeToRun - timer.timer_subsystem.head_offset) / world.tick_lag)+1) % BUCKET_LEN) || BUCKET_LEN)
|
||||
/// Gets the maximum time at which timers will be invoked from buckets, used for deferring to secondary queue
|
||||
#define TIMER_MAX(timer_ss) (timer_ss.head_offset + TICKS2DS(BUCKET_LEN + timer_ss.practical_offset - 1))
|
||||
/// Max float with integer precision
|
||||
|
||||
@@ -26,7 +26,7 @@ SUBSYSTEM_DEF(title)
|
||||
|
||||
for(var/S in provisional_title_screens)
|
||||
var/list/L = splittext(S,"+")
|
||||
if((L.len == 1 && (L[1] != "exclude" && L[1] != "blank.png"))|| (L.len > 1 && ((use_rare_screens && lowertext(L[1]) == "rare") || (lowertext(L[1]) == lowertext(SSmapping.config.map_name)))))
|
||||
if((L.len == 1 && (L[1] != "exclude" && L[1] != "blank.png")) || (L.len > 1 && ((use_rare_screens && lowertext(L[1]) == "rare") || (lowertext(L[1]) == lowertext(SSmapping.config.map_name)))))
|
||||
title_screens += S
|
||||
|
||||
if(length(title_screens))
|
||||
|
||||
Reference in New Issue
Block a user