Power bar templating crashes in No COP games
kbuzsaki opened this issue · comments
No COP games have a max power of 0, which causes the power bar templating code to attempt to template 0 bars, which then crashes due to a str.repeat(0 - 1)
.
There might be other issues to fix with No COP games as well that aren't as obvious. At a minimum, the power buttons probably shouldn't be shown.
Fixed in ae534db