[0.17.9] double-setting does not accept 0.X

Bugs that are actually features.
Post Reply
User avatar
SuperSandro2000
Filter Inserter
Filter Inserter
Posts: 742
Joined: Sun Jan 12, 2014 3:54 am
Contact:

[0.17.9] double-setting does not accept 0.X

Post by SuperSandro2000 »

I did a mod with a double-setting, a min of 0.1 and a max of 1. The field does not accept 0.9 but .9. As I am German this is obvious wrong for me and the feedback if the value is accepted or not could be way better.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13346
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.9] double-setting does not accept 0.X

Post by Rseding91 »

Thanks for the report however I can't reproduce what you're describing. It works perfectly fine when I enter 0.9 using the following setting:

Code: Select all

data:extend({
  {
    type = "double-setting",
    name = "double-setting",
    setting_type = "runtime-global",
    default_value = 0.5,
    minimum_value = 0.1,
    maximum_value = 1
  }
})
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Not a bug”