cmdgive didn't use move_to which meant that hooks were not called. Fixed.

This commit is contained in:
Griatch 2014-09-01 11:08:25 +02:00
parent a075e07e55
commit b9f4c6de3a

View file

@ -327,7 +327,7 @@ class CmdGive(MuxCommand):
caller.msg("You are not holding %s." % to_give.key)
return
# give object
to_give.location = target
to_give.move_to(target, quiet=True)
caller.msg("You give %s to %s." % (to_give.key, target.key))
target.msg("%s gives you %s." % (caller.key, to_give.key))