summaryrefslogtreecommitdiff
path: root/storage.py
diff options
context:
space:
mode:
authorRawng <rawng.github@gmail.com>2015-06-01 21:54:40 -0400
committerRawng <rawng.github@gmail.com>2015-06-01 21:54:40 -0400
commitf038c11f6b150997d29303569e8acb0bb73d64d2 (patch)
tree6df84a51ff2b9b2d05f1a0a4015aa61ec7446904 /storage.py
parent1e8140f0f62ecfd0ccbe046cf6ea9faed926f327 (diff)
downloadmanamarket-github/fork/Rawng/master.tar.gz
manamarket-github/fork/Rawng/master.tar.bz2
manamarket-github/fork/Rawng/master.tar.xz
manamarket-github/fork/Rawng/master.zip
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: