mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-08 14:50:51 -04:00
Use max instead of min to allow configuring max machine signal queue size. closes #3084
This commit is contained in:
parent
33a405f899
commit
e86201d116
@ -466,7 +466,7 @@ class Settings(val config: Config) {
|
||||
val disableLocaleChanging = config.getBoolean("debug.disableLocaleChanging")
|
||||
|
||||
// >= 1.7.4
|
||||
val maxSignalQueueSize: Int = (if (config.hasPath("computer.maxSignalQueueSize")) config.getInt("computer.maxSignalQueueSize") else 256) min 256
|
||||
val maxSignalQueueSize: Int = (if (config.hasPath("computer.maxSignalQueueSize")) config.getInt("computer.maxSignalQueueSize") else 256) max 256
|
||||
|
||||
// >= 1.7.6
|
||||
val vramSizes: Array[Double] = Array(config.getDoubleList("gpu.vramSizes"): _*) match {
|
||||
|
Loading…
x
Reference in New Issue
Block a user