Skip to content

Commit

Permalink
remove 0 item from entities.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Jan 7, 2021
1 parent 0e4429f commit 6b83986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/injected/cxx/ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ void write_file()
{
std::ofstream file;
file.open("entities.txt");
for (int i = 0; i < g_items.size(); i++)
for (int i = 1; i < g_items.size(); i++)
{
file << g_items[i].id << ": " << g_items[i].name.data() << std::endl;
}
Expand Down

0 comments on commit 6b83986

Please sign in to comment.