diff options
author | Meistache <crie.fernanda@gmail.com> | 2015-02-10 16:07:05 -0200 |
---|---|---|
committer | Meistache <crie.fernanda@gmail.com> | 2015-02-10 16:07:05 -0200 |
commit | 7d257b4b43ac1db813b065954d7629d67712f866 (patch) | |
tree | 5b8fabf1b7978bd119d37857c153f459ee3f77b6 /storage.py | |
parent | e0e927dae13e6ae10c7a64542ea6a7f5aa26a70c (diff) | |
download | manamarket-7d257b4b43ac1db813b065954d7629d67712f866.tar.gz manamarket-7d257b4b43ac1db813b065954d7629d67712f866.tar.bz2 manamarket-7d257b4b43ac1db813b065954d7629d67712f866.tar.xz manamarket-7d257b4b43ac1db813b065954d7629d67712f866.zip |
"Add"
Diffstat (limited to 'storage.py')
-rw-r--r-- | storage.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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))) |