Reworked view range function
Merge branch 'master' of https://github.com/BadButton/WotDBupdate.git