This commit is contained in:
Twentysix 2016-01-25 22:31:58 +01:00
parent 970c3a5ef0
commit b5f240fdb8
2 changed files with 4 additions and 1 deletions

View File

@ -12,6 +12,8 @@ payday_register = {}
PAYDAY_TIME = 300 # seconds between each payday PAYDAY_TIME = 300 # seconds between each payday
PAYDAY_CREDITS = 120 # credits received PAYDAY_CREDITS = 120 # credits received
def initialize():
global bank
bank = dataIO.fileIO("json/economy.json", "load") bank = dataIO.fileIO("json/economy.json", "load")
def loadHelp(): def loadHelp():

1
red.py
View File

@ -2018,6 +2018,7 @@ def main():
if "economy" in modules: if "economy" in modules:
economy.client = client economy.client = client
economy.initialize()
uptime_timer = int(time.perf_counter()) uptime_timer = int(time.perf_counter())