Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dssecret committed Dec 22, 2023
1 parent 318b55a commit 781637f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions controllers/faction/banking.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,13 @@ def banking():
"name": banker_user.name,
"tid": banker_user.tid,
"last_action": int(current_user.last_action.timestamp()),
"money": banker_user.faction_position.give_money,
"points": banker_user.faction_position.give_points,
"adjust": banker_user.faction_position.adjust_balances,
"money": banker_user.faction_position.give_money if banker_user.faction_position is not None else True,
"points": banker_user.faction_position.give_points
if banker_user.faction_position is not None
else True,
"adjust": banker_user.faction_position.adjust_balances
if banker_user.faction_position is not None
else True,
}
)

Expand Down

0 comments on commit 781637f

Please sign in to comment.