diff options
author | Treeki <treeki@gmail.com> | 2013-04-29 22:47:13 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-04-29 22:47:13 +0200 |
commit | f7ffddac18e7c97d2c23b164370e4be26088e898 (patch) | |
tree | 917f3125213667b7743b1bfd040e683da8027397 | |
parent | 6a038d8967cc0b189a22550d27b68b2da6477287 (diff) | |
download | koopatlas-f7ffddac18e7c97d2c23b164370e4be26088e898.tar.gz koopatlas-f7ffddac18e7c97d2c23b164370e4be26088e898.zip |
fix stupid star coin encoding bug
Diffstat (limited to '')
-rw-r--r-- | src/unlock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unlock.py b/src/unlock.py index f87e5b1..1638904 100644 --- a/src/unlock.py +++ b/src/unlock.py @@ -141,7 +141,7 @@ def packUnlockSpec(data): elif kind == 'star_coins': k, op, count, mode = data ops = ('==', '!=', '<', '>') - one = (4 << 6) | ops.index(op) + one = (0 << 6) | ops.index(op) if mode == 'unspent': modeID = 0x80 else: |