#118 PLC RPS fuel check fixed

This commit is contained in:
Mikayla Fischler
2023-02-25 12:07:25 -05:00
parent 4f285cf2b5
commit 446fff04da
2 changed files with 2 additions and 2 deletions

View File

@@ -162,7 +162,7 @@ function plc.rps_init(reactor, is_formed)
-- check if there is no fuel
local function _insufficient_fuel()
local fuel = reactor.getFuel()
local fuel = reactor.getFuelFilledPercentage()
if fuel == ppm.ACCESS_FAULT then
-- lost the peripheral or terminated, handled later
_set_fault()