ZeroQI / Absolute-Series-Scanner

Seasons, absolute mode, Subfolders...
1.01k stars 155 forks source link

Fixes a bug in specials ordering for forced 'anidb' #398

Closed jaller200 closed 2 years ago

jaller200 commented 2 years ago

Fixes #397

If specials contained an alphabetical character (i.e. 2a / 2b), the script would perform a string / integer comparison which could throw off the cumulative_offset (for example, 2 < '1' == true).

This fixes this so that the variable ep is always an integer value when being compared in the initialisation of cumulative_offset.