Skip to content

Commit

Permalink
Create cheat group only once
Browse files Browse the repository at this point in the history
  • Loading branch information
OV2 committed Apr 30, 2018
1 parent 25fa85b commit 9d9a9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cheats2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ int S9xAddCheatGroup (const char *name, const char *cheat)
if (g.c.size () == 0)
return -1;

Cheat.g.push_back (S9xCreateCheatGroup (name, cheat));
Cheat.g.push_back (g);

return Cheat.g.size () - 1;
}
Expand Down

0 comments on commit 9d9a9e2

Please sign in to comment.