Merge pull request #174 from finnbear/patch-1
Make config file loader take ram in MB for consistency
This commit is contained in:
@@ -84,7 +84,7 @@ public class SettingsLoader {
|
|||||||
cores = String.valueOf(cores_);
|
cores = String.valueOf(cores_);
|
||||||
}
|
}
|
||||||
if (maxRam_ > 0) {
|
if (maxRam_ > 0) {
|
||||||
ram = String.valueOf(maxRam_);
|
ram = String.valueOf(maxRam_ * 1000);
|
||||||
}
|
}
|
||||||
if (maxRenderTime_ > 0) {
|
if (maxRenderTime_ > 0) {
|
||||||
renderTime = String.valueOf(maxRenderTime_);
|
renderTime = String.valueOf(maxRenderTime_);
|
||||||
|
|||||||
Reference in New Issue
Block a user