mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Fixes demon type for shadow demon vial (#27887)
* now checking for shadow demons. * damn typepathing * now using :: to get name. Thanks Lewcc. * go away silly var (Thanks Contra) Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Signed-off-by: Erikos66 <Erikos66@outlook.com> --------- Signed-off-by: Erikos66 <Erikos66@outlook.com> Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
co-authored by
Contrabang
Luc
parent
f97dc588e4
commit
678bb87de3
@@ -198,10 +198,7 @@
|
||||
used = TRUE
|
||||
to_chat(user, "<span class='notice'>You break the seal on the bottle, calling upon the dire spirits of the underworld...</span>")
|
||||
|
||||
var/type = "slaughter"
|
||||
if(demon_type == /mob/living/simple_animal/demon/slaughter/laughter)
|
||||
type = "laughter"
|
||||
var/list/candidates = SSghost_spawns.poll_candidates("Do you want to play as a [type] demon summoned by [user.real_name]?", ROLE_DEMON, TRUE, 10 SECONDS, source = demon_type)
|
||||
var/list/candidates = SSghost_spawns.poll_candidates("Do you want to play as a [demon_type::name] summoned by [user.real_name]?", ROLE_DEMON, TRUE, 10 SECONDS, source = demon_type)
|
||||
|
||||
if(length(candidates) > 0)
|
||||
var/mob/C = pick(candidates)
|
||||
|
||||
Reference in New Issue
Block a user