Fix repeating stage completion text bug (#326)

Previously, if you play master phantasm and complete the line requirements of the dig section, but have not dug all the blocks, the "Stage (n) complete" text will still appear. This pull request makes it so that it checks the dig condition *before* making the text appear.
This commit is contained in:
Not-A-Normal-Robot
2021-09-24 18:57:58 +07:00
committed by GitHub
parent 07e07e61ee
commit ff0fa1802d

View File

@@ -74,8 +74,8 @@ return
P.modeData.target=42
SFX.play('reach')
elseif T==42 then--Stage 4: survive in high speed
P:stageComplete(4)
if P.garbageBeneath==0 then
P:stageComplete(4)
P.waiting=30
ENV.lock=11
P:setNext(6)