updated
This commit is contained in:
@@ -20,14 +20,14 @@ local function watch()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function stepUp()
|
local function stepUp()
|
||||||
local value = getValue()
|
local value = getValue()
|
||||||
if value < max then
|
if value < max then
|
||||||
reactor.setBurnRate(value + rateStep)
|
reactor.setBurnRate(value + rateStep)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function stepDown()
|
local function stepDown()
|
||||||
local value = getValue()
|
local value = getValue()
|
||||||
if value > min then
|
if value > min then
|
||||||
reactor.setBurnRate(value - rateStep)
|
reactor.setBurnRate(value - rateStep)
|
||||||
|
|||||||
Reference in New Issue
Block a user