Bronya-Rand / DDLCModTemplate2.0

A new template for producing DDLC mods that adhere to Team Salvato's guidelines based off DDLC itself.
58 stars 18 forks source link

fix division issue #48

Closed Elckarow closed 2 years ago

Elckarow commented 2 years ago

in r7, self.height would always be an integer since py2 div sucks

issue is that it is used in random.randint and in py3, division is always float division

this pr fixes it by using int(self.height) inside the function