stevesea / Adventuresmith

Generate tabletop RPG nonsense at the push of a button! (on Android)
https://stevesea.github.io/Adventuresmith/
GNU General Public License v3.0
74 stars 16 forks source link

Generator.kt line 115 #126

Closed stevesea closed 7 years ago

stevesea commented 7 years ago

in org.stevesea.adventuresmith.core.InputParamDto.getVal

There's a lot more information about this crash on crashlytics.com: https://fabric.io/stephen-christensens-projects/android/apps/org.steavesea.adventuresmith/issues/58af0ac60aeb16625ba4ab39

stevesea commented 7 years ago

from crashlytics stack, looks like user entered a number too big for an int.

made changes so that if result can't be converted to int (or bool), the default value will be used.