ChronosWS / asma

Ark Server Manager: Ascended
46 stars 4 forks source link

BUG: Empty vectors of non-string values give warnings #62

Closed ChronosWS closed 8 months ago

ChronosWS commented 8 months ago

If you add a setting which is a vector of a non-string value and then do not add any entries to it, ASMA will spit out a warning on loading the profile like:

Entry PerLevelStatsMultiplier_DinoTamed (Game.ini [/script/shootergame.shootergamemode]) has mismatched type Vector<String>, should be Vector<Float>

This is because the vector doesn't have type information for the entries when there are no entries. This should just convert (harmlessly) to the type and not spit a warning when the vector is empty.