Fixing typo of local variable

This commit is contained in:
Xelaadryth 2017-03-26 20:42:03 -07:00 committed by Griatch
parent 4c4b97f994
commit 12e0e2e4fd

View file

@ -355,7 +355,7 @@ class CmdGive(COMMAND_DEFAULT_CLASS):
to_give.move_to(target, quiet=True)
target.msg("%s gives you %s." % (caller.key, to_give.key))
# Call the object script's at_give() method.
obj.at_give(caller, target)
to_give.at_give(caller, target)
class CmdDesc(COMMAND_DEFAULT_CLASS):