summaryrefslogtreecommitdiff
path: root/storage.py
diff options
context:
space:
mode:
Diffstat (limited to 'storage.py')
-rw-r--r--storage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage.py b/storage.py
index 8afda66..2332fbb 100644
--- a/storage.py
+++ b/storage.py
@@ -21,13 +21,13 @@ import mutex
class Storage:
def __init__(self):
self.storage = {}
- self.timer = 0
+ self.timer = time.time()
self.mapserv = 0
self.Open = mutex.mutex()
def reset(self):
self.Open.unlock()
- self.timer = 0
+ self.timer = time.time()
def find_storage_index(self, item_id):
for item in self.storage: