mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
* Explosive implant * Package wrapper * Venus human trap sprites * Vine damage * Wisp vision * Display case * Storage viewing * Ghost poll nullspacing * Inflatable barrier piercing * Pneumatic cannon * Cow grammar * Centcom jaunting * Consistency Not actually a lazy list, as far as I can tell * Review 1 Co-Authored-By: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> * Review 2 Co-Authored-By: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> * length() Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
@@ -287,7 +287,7 @@
|
||||
A.Grant(S)
|
||||
|
||||
var/list/mob/dead/observer/candidates = SSghost_spawns.poll_candidates("Do you want to play as a pyroclastic anomaly slime?", ROLE_SENTIENT, FALSE, 100, source = S, role_cleanname = "pyroclastic anomaly slime")
|
||||
if(LAZYLEN(candidates))
|
||||
if(length(candidates) && !QDELETED(S))
|
||||
var/mob/dead/observer/chosen = pick(candidates)
|
||||
S.key = chosen.key
|
||||
S.mind.special_role = SPECIAL_ROLE_PYROCLASTIC_SLIME
|
||||
|
||||
@@ -178,7 +178,7 @@
|
||||
spawn()
|
||||
var/list/candidates = SSghost_spawns.poll_candidates("Do you want to play as a giant spider?", ROLE_GSPIDER, TRUE, source = S)
|
||||
|
||||
if(candidates.len)
|
||||
if(length(candidates) && !QDELETED(S))
|
||||
var/mob/C = pick(candidates)
|
||||
if(C)
|
||||
S.key = C.key
|
||||
|
||||
Reference in New Issue
Block a user