mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
[FIX] Jobbaned can't spam-spawn as cult harvesters (#21656)
* fix: jobbaned can't spam-spawn as cult harvesters https://github.com/ss220-space/Paradise/pull/1283 * fix: oops, what is this check? * smoke needs create_smoke
This commit is contained in:
@@ -421,10 +421,12 @@
|
||||
qdel(shade)
|
||||
qdel(SS)
|
||||
|
||||
/proc/make_new_construct(mob/living/simple_animal/hostile/construct/c_type, mob/target, mob/user, cult_override = FALSE)
|
||||
/proc/make_new_construct(mob/living/simple_animal/hostile/construct/c_type, mob/target, mob/user, cult_override = FALSE, create_smoke = FALSE)
|
||||
if(jobban_isbanned(target, ROLE_CULTIST))
|
||||
return
|
||||
var/mob/living/simple_animal/hostile/construct/C = new c_type(get_turf(target))
|
||||
if(create_smoke)
|
||||
new /obj/effect/particle_effect/smoke/sleeping(target.loc)
|
||||
C.faction |= "\ref[user]"
|
||||
C.key = target.key
|
||||
if(user && iscultist(user) || cult_override)
|
||||
|
||||
Reference in New Issue
Block a user