fixes a guardian communication runtime (#20929)

This commit is contained in:
GDN
2023-04-25 21:15:23 +02:00
committed by GitHub
parent 93ead0f8fb
commit d2f55feefb
2 changed files with 2 additions and 2 deletions
@@ -196,7 +196,7 @@
input = stripped_input(src, "Please enter a message to tell your summoner.", "Guardian", "")
else
input = message
if(!input)
if(!input || !summoner)
return
// Show the message to the host and to the guardian.
@@ -28,7 +28,7 @@
/datum/action/guardian/communicate/Trigger()
var/input = stripped_input(owner, "Enter a message to tell your guardian:", "Message", "")
if(!input)
if(!input || !guardian)
return
// Show the message to our guardian and to host.