Fix a lost precision warning
This commit is contained in:
parent
219921d51b
commit
e9adc58583
@ -13,4 +13,4 @@ func _set_dice_value(new_value):
|
||||
func _ready():
|
||||
randomize()
|
||||
|
||||
self.dice_value = round(rand_range(0.5, 6.49999999))
|
||||
self.dice_value = int(round(rand_range(0.5, 6.49999999)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user