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

@ -71,7 +71,7 @@ namespace big
{
ImGui::BeginTooltip();
for (auto infraction : sorted_player->infractions)
ImGui::BulletText(infraction_desc[(Infraction)infraction]);
ImGui::BulletText(sorted_player->get_infraction_description(infraction));
ImGui::EndTooltip();
}
}