diff options
author | Dipesh Amin <yaypunkrock@gmail.com> | 2011-09-01 13:40:10 +0100 |
---|---|---|
committer | Dipesh Amin <yaypunkrock@gmail.com> | 2011-09-01 13:40:10 +0100 |
commit | 2fdcd2ac566cf40386b7e392bead1137c68f722a (patch) | |
tree | 188b49d269570c86791a4725341f3b0c402c29a8 | |
parent | ff76f98a0e8d519c08938fa44b77d70294e8cb1e (diff) | |
download | manamarket-2fdcd2ac566cf40386b7e392bead1137c68f722a.tar.gz manamarket-2fdcd2ac566cf40386b7e392bead1137c68f722a.tar.bz2 manamarket-2fdcd2ac566cf40386b7e392bead1137c68f722a.tar.xz manamarket-2fdcd2ac566cf40386b7e392bead1137c68f722a.zip |
oops and again for money
-rwxr-xr-x | main.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -180,12 +180,12 @@ def process_whisper(nick, msg, mapserv): if amount == 0: mapserv.sendall(whisper(nick, "You have no money to collect.")) else: - trader_state.money = nick if not trader_state.Trading.testandset(): mapserv.sendall(whisper(nick, "I'm currently busy with a trade. Try again shortly")) return - player_id = beingManager.findId(nick) + trader_state.money = nick + player_id = beingManager.findId(nick) if player_id != -10: mapserv.sendall(trade_request(player_id)) trader_state.timer = time.time() |