Fix deposit option.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3121 282e977c-c81d-0410-88c4-b93c2d0d6712
master
akirschbaum 2005-03-09 22:24:47 +00:00
parent 1a62f13bce
commit 148649ceac
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ if text[0] == 'help' or text[0] == 'yes':
elif text[0] == 'deposit':
if len(text)==2:
if (CFPython.PayAmount(activator, (int(text[1])*exchange_rate)*fees)):
if (CFPython.PayAmount(activator, int((int(text[1])*exchange_rate)*fees))):
bank.deposit(activatorname, int(text[1]))
message = '%d received, %d imperials deposited to bank account. %s' \
%((int(text[1])*(exchange_rate/50))*fees,int(text[1]),random.choice(thanks_message))