fuck that shit

This commit is contained in:
Arisotura 2024-11-19 01:07:27 +01:00
parent 13096f9fdc
commit 86c6740b24
1 changed files with 1 additions and 1 deletions

View File

@ -632,7 +632,7 @@ void Table::SetString(const std::string& path, const std::string& val)
void Table::SetDouble(const std::string& path, double val) void Table::SetDouble(const std::string& path, double val)
{ {
toml::value& tval = ResolvePath(path); toml::value& tval = ResolvePath(path);
tval = val; tval = toml::value(val, {.prec=10});
} }
toml::value& Table::ResolvePath(const std::string& path) toml::value& Table::ResolvePath(const std::string& path)