mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Adds check for empty message in guardian communicate verbs
This commit is contained in:
@@ -114,6 +114,7 @@
|
||||
set category = "Guardian"
|
||||
set desc = "Communicate telepathically with your summoner."
|
||||
var/input = stripped_input(src, "Please enter a message to tell your summoner.", "Guardian", "")
|
||||
if(!input) return
|
||||
|
||||
for(var/mob/M in mob_list)
|
||||
if(M == src.summoner || (M in dead_mob_list))
|
||||
@@ -125,6 +126,7 @@
|
||||
set category = "Guardian"
|
||||
set desc = "Communicate telepathically with your guardian."
|
||||
var/input = stripped_input(src, "Please enter a message to tell your guardian.", "Message", "")
|
||||
if(!input) return
|
||||
|
||||
for(var/mob/M in mob_list)
|
||||
if(istype (M, /mob/living/simple_animal/hostile/guardian))
|
||||
|
||||
Reference in New Issue
Block a user