fix list cli

This commit is contained in:
Mylloon 2023-04-03 03:06:51 +02:00
parent 6e00ed4e42
commit 0094b86fbb
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -14,7 +14,7 @@ if __name__ == "__main__":
# User gave a list of cheats
# Will bypass the interactive selection
c_id = [int(j) for j in [i for i in argv if i.startswith(
c_id = [int(j) - 1 for j in [i for i in argv if i.startswith(
"--list=")][0][7:].split(",")]
# Load cheat class