Make config file loader take ram in MB for consistency
When passed as inline parameters, memory is expressed as MB. However, when passed in a config file, memory was expressed as KB. This created confusion https://discordapp.com/channels/253355867938750485/301912419368697856/541719192252973066 https://discordapp.com/channels/253355867938750485/301912419368697856/541719244094701597 https://discordapp.com/channels/253355867938750485/301912419368697856/541719343684124696
This commit is contained in:
@@ -84,7 +84,7 @@ public class SettingsLoader {
|
||||
cores = String.valueOf(cores_);
|
||||
}
|
||||
if (maxRam_ > 0) {
|
||||
ram = String.valueOf(maxRam_);
|
||||
ram = String.valueOf(maxRam_ * 1000);
|
||||
}
|
||||
if (maxRenderTime_ > 0) {
|
||||
renderTime = String.valueOf(maxRenderTime_);
|
||||
|
||||
Reference in New Issue
Block a user