mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Removes misc spaces
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
/datum/round_event/abductor/proc/makeAbductorTeam()
|
||||
var/list/mob/dead/observer/candidates = pollCandidates("Do you wish to be considered for an Abductor Team?", "abductor", null, BE_ABDUCTOR )
|
||||
|
||||
|
||||
if(candidates.len >= 2)
|
||||
//Oh god why we can't have static functions
|
||||
var/number = ticker.mode.abductor_teams + 1
|
||||
|
||||
@@ -28,10 +28,6 @@
|
||||
/datum/round_event/alien_infestation/start()
|
||||
get_alien()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/datum/round_event/alien_infestation/proc/get_alien(end_if_fail = 0)
|
||||
var/list/vents = list()
|
||||
for(var/obj/machinery/atmospherics/components/unary/vent_pump/temp_vent in machines)
|
||||
@@ -51,7 +47,6 @@
|
||||
if(end_if_fail)
|
||||
return 0
|
||||
return find_alien()
|
||||
|
||||
while(spawncount > 0 && vents.len && candidates.len)
|
||||
var/obj/vent = pick_n_take(vents)
|
||||
var/client/C = pick_n_take(candidates)
|
||||
@@ -66,7 +61,6 @@
|
||||
if(successSpawn)
|
||||
return 1
|
||||
|
||||
|
||||
/datum/round_event/alien_infestation/proc/find_alien()
|
||||
message_admins("Event attempted to spawn an alien but no candidates were available. Will try again momentarily...")
|
||||
spawn(50)
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
spawn_locs += L.loc
|
||||
if(!spawn_locs.len)
|
||||
return kill()
|
||||
|
||||
|
||||
var/mob/living/carbon/human/operative = new(pick(spawn_locs))
|
||||
var/datum/preferences/A = new
|
||||
A.copy_to(operative)
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
var/obj/machinery/nuclearbomb/selfdestruct/nuke = locate() in machines
|
||||
if(nuke)
|
||||
var/nuke_code
|
||||
var/nuke_code
|
||||
if(!nuke.r_code || nuke.r_code == "ADMIN")
|
||||
nuke_code = "[rand(10000, 99999)]"
|
||||
nuke.r_code = nuke_code
|
||||
|
||||
Reference in New Issue
Block a user