Skip to content

Commit

Permalink
Buckled/held cultists cant be teleport summoned (tgstation#37805)
Browse files Browse the repository at this point in the history
  • Loading branch information
KorPhaeron authored and vuonojenmustaturska committed May 13, 2018
1 parent 31b8cfe commit c9a12c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/modules/antagonists/cult/runes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,11 @@ structure_check() searches for nearby cultist structures required for the invoca
fail_invoke()
log_game("Summon Cultist rune failed - target died")
return
if(cultist_to_summon.pulledby || cultist_to_summon.buckled)
to_chat(user, "<span class='cult italic'>[cultist_to_summon] is being held in place!</span>")
fail_invoke()
log_game("Summon Cultist rune failed - target restrained")
return
if(!iscultist(cultist_to_summon))
to_chat(user, "<span class='cult italic'>[cultist_to_summon] is not a follower of the Geometer!</span>")
fail_invoke()
Expand Down

0 comments on commit c9a12c1

Please sign in to comment.