correctly find mek 10.1+ fission reactors

This commit is contained in:
Mikayla Fischler
2022-07-17 15:05:27 -04:00
parent c3d6d900a1
commit 2aedc015c8
2 changed files with 2 additions and 2 deletions

View File

@@ -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)