Skip to content

Commit

Permalink
fix plurality trigger tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
schombert committed Jan 2, 2024
1 parent c87bc29 commit 668758e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/gui_trigger_tooltips.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3290,14 +3290,14 @@ void tf_plurality(TRIGGER_DISPLAY_PARAMS) {
auto box = text::open_layout_box(layout, indentation);
make_condition(tval, ws, layout, primary_slot, this_slot, from_slot, indentation, show_condition, box);
display_with_comparison(tval[0], text::produce_simple_string(ws, "plurality"),
text::fp_percentage{trigger::read_float_from_payload(tval + 1) / 100.0f}, ws, layout, box);
text::fp_percentage{trigger::read_float_from_payload(tval + 1) / 10000.0f}, ws, layout, box);
text::close_layout_box(layout, box);
}
void tf_plurality_pop(TRIGGER_DISPLAY_PARAMS) {
auto box = text::open_layout_box(layout, indentation);
make_condition(tval, ws, layout, primary_slot, this_slot, from_slot, indentation, show_condition, box);
display_with_comparison(tval[0], text::produce_simple_string(ws, "plurality_pop"),
text::fp_percentage{ trigger::read_float_from_payload(tval + 1) / 100.0f }, ws, layout, box);
text::fp_percentage{ trigger::read_float_from_payload(tval + 1) / 10000.0f }, ws, layout, box);
text::close_layout_box(layout, box);
}
void tf_corruption(TRIGGER_DISPLAY_PARAMS) {
Expand Down

0 comments on commit 668758e

Please sign in to comment.