Use actual deposit value instead of hardcoded value.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@14107 282e977c-c81d-0410-88c4-b93c2d0d6712
master
ryo_saeba 2010-11-20 11:17:06 +00:00
parent 5eb8d7a926
commit 34dfc48087
1 changed files with 2 additions and 2 deletions

View File

@ -319,8 +319,8 @@ class GuildDues:
self.handle_jack()
return
# todo: don't hardcode
bank.deposit(self.accountname, 5000)
amount = Crossfire.WhoIsOther().Value * Crossfire.WhoIsOther().Quantity
bank.deposit(self.accountname, amount)
dues = GuildDues()
dues.handle()