mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
correctly find mek 10.1+ fission reactors
This commit is contained in:
parent
c3d6d900a1
commit
2aedc015c8
@ -13,7 +13,7 @@ local config = require("reactor-plc.config")
|
||||
local plc = require("reactor-plc.plc")
|
||||
local threads = require("reactor-plc.threads")
|
||||
|
||||
local R_PLC_VERSION = "beta-v0.8.0"
|
||||
local R_PLC_VERSION = "beta-v0.8.1"
|
||||
|
||||
local print = util.print
|
||||
local println = util.println
|
||||
|
@ -298,7 +298,7 @@ end
|
||||
-- get the fission reactor (if multiple, returns the first)
|
||||
---@return table|nil reactor function table
|
||||
function ppm.get_fission_reactor()
|
||||
return ppm.get_device("fissionReactor")
|
||||
return ppm.get_device("fissionReactor") or ppm.get_device("fissionReactorLogicAdapter")
|
||||
end
|
||||
|
||||
-- get the wireless modem (if multiple, returns the first)
|
||||
|
Loading…
Reference in New Issue
Block a user