summaryrefslogtreecommitdiff
path: root/storage.py
diff options
context:
space:
mode:
authorMeistache <crie.fernanda@gmail.com>2015-02-10 16:07:05 -0200
committerMeistache <crie.fernanda@gmail.com>2015-02-10 16:07:05 -0200
commit7d257b4b43ac1db813b065954d7629d67712f866 (patch)
tree5b8fabf1b7978bd119d37857c153f459ee3f77b6 /storage.py
parente0e927dae13e6ae10c7a64542ea6a7f5aa26a70c (diff)
downloadmanamarket-7d257b4b43ac1db813b065954d7629d67712f866.tar.gz
manamarket-7d257b4b43ac1db813b065954d7629d67712f866.tar.bz2
manamarket-7d257b4b43ac1db813b065954d7629d67712f866.tar.xz
manamarket-7d257b4b43ac1db813b065954d7629d67712f866.zip
"Add"
Diffstat (limited to 'storage.py')
-rw-r--r--storage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage.py b/storage.py
index a098ac6..8144419 100644
--- a/storage.py
+++ b/storage.py
@@ -23,6 +23,7 @@ class Storage:
self.storage = {}
self.timer = 0
self.Open = mutex.mutex()
+
def reset(self):
self.Open.unlock()
self.timer = 0
@@ -103,8 +104,8 @@ class Storage:
return 0
def storage_open(self, mapserv):
- mapserv.sendall(chat("@storage"))
self.timer = time.time()
+ mapserv.sendall(chat("@storage"))
def storage_close(self, mapserv):
mapserv.sendall(str(PacketOut(CMSG_CLOSE_STORAGE)))