remove pointless +1 and use ceiling again

This commit is contained in:
Couls
2019-07-15 20:49:41 -04:00
parent 4eb2af193d
commit d83547caf6

View File

@@ -90,7 +90,7 @@
UI_style_alpha='[UI_style_alpha]',
be_role='[sanitizeSQL(list2params(be_special))]',
default_slot='[default_slot]',
toggles='[num2text(toggles, round(log(10, TOGGLES_TOTAL)) + 1)]',
toggles='[num2text(toggles, Ceiling(log(10, (TOGGLES_TOTAL))))]',
atklog='[atklog]',
sound='[sound]',
randomslot='[randomslot]',