diff options
author | dipesh <dipesh@lappy.(none)> | 2011-09-29 11:09:18 +0100 |
---|---|---|
committer | dipesh <dipesh@lappy.(none)> | 2011-09-29 11:09:18 +0100 |
commit | 65dd5bdc27d21d51b2280e97e106fba16c0aed35 (patch) | |
tree | c3e63ef7346fd21aeb64e98c219b1756ff4cc62a | |
parent | 123f655f070616694a53e151b89541657bb1e92b (diff) | |
download | manamarket-65dd5bdc27d21d51b2280e97e106fba16c0aed35.tar.gz manamarket-65dd5bdc27d21d51b2280e97e106fba16c0aed35.tar.bz2 manamarket-65dd5bdc27d21d51b2280e97e106fba16c0aed35.tar.xz manamarket-65dd5bdc27d21d51b2280e97e106fba16c0aed35.zip |
teeny bug
-rwxr-xr-x | main.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -995,7 +995,8 @@ def main(): mapserv.sendall(str(PacketOut(CMSG_TRADE_OK))) else: mapserv.sendall(str(PacketOut(CMSG_TRADE_CANCEL_REQUEST))) - mapserv.sendall(whisper(trader_state.item.player, "Trade Cancelled: Please check the traded items or money.")) + if trader_state.item: + mapserv.sendall(whisper(trader_state.item.player, "Trade Cancelled: Please check the traded items or money.")) logging.info("Trade Ok: Partner.") |