Fix call at_say -> at_before_say. Resolves #1451.

This commit is contained in:
Griatch 2017-09-30 14:18:37 +02:00
parent da58d827cf
commit 291fd6fa34

View file

@ -858,7 +858,7 @@ class CmdSay(RPCommand): # replaces standard say
return
# calling the speech hook on the location
speech = caller.location.at_say(caller, self.args)
speech = caller.location.at_before_say(caller, self.args)
# preparing the speech with sdesc/speech parsing.
speech = "/me says, \"{speech}\"".format(speech=speech)
targets = self.caller.location.contents