Fix a lost precision warning

This commit is contained in:
CactiChameleon9 2022-07-16 22:58:24 +01:00
parent 219921d51b
commit e9adc58583

View File

@ -13,4 +13,4 @@ func _set_dice_value(new_value):
func _ready(): func _ready():
randomize() randomize()
self.dice_value = round(rand_range(0.5, 6.49999999)) self.dice_value = int(round(rand_range(0.5, 6.49999999)))