Merge pull request #2574 from Rolln-dev/Rolln/AIRBOSS

[BUGFIX] AIRBOSS:_LSOGrades
This commit is contained in:
Thomas
2026-04-14 06:28:13 +02:00
committed by GitHub
+8
View File
@@ -12903,6 +12903,14 @@ function AIRBOSS:_LSOgrade( playerData )
-- Circuit edit only take points awary from a 1 wire if there are more than 4 other deviations
if playerData.wire == 1 and points >= 3 and N > 4 then
points = points -1
-- We also need to change the grade based on the new points.
if points == 4 then
grade = "OK"
elseif points == 3 then
grade = "(OK)"
elseif points == 2 then
grade = "--"
end
end
env.info("Returning: " .. grade .. " " .. points .. " " .. G)