feat(lua): Allow lua scripts to flag modders with a custom reason if needed. (#2248)

This commit is contained in:
Quentin
2023-10-13 00:11:37 +02:00
committed by GitHub
parent f9c948f909
commit 94838af288
10 changed files with 301 additions and 68 deletions

View File

@ -182,7 +182,7 @@ namespace big
for (auto& infraction : current_player->infractions)
{
ImGui::BulletText(infraction_desc[(Infraction)infraction]);
ImGui::BulletText(current_player->get_infraction_description(infraction));
}
}