mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-12 11:10:29 +00:00
Merge pull request #305 from Wojbie/Redirection-fix
Fix to redirection game.
This commit is contained in:
commit
2cd4daa9ad
@ -614,7 +614,7 @@ local function startG(LevelN)
|
||||
elseif isExit == "retry" then
|
||||
return LevelN
|
||||
elseif fExit == "yes" then
|
||||
if fs.exists( fs.getDir( shell.getRunningProgram() ) .. "/levels/" .. tostring(LevelN + 1) ) then
|
||||
if fs.exists( fs.getDir( shell.getRunningProgram() ) .. "/levels/" .. tostring(LevelN + 1) .. ".dat" ) then
|
||||
return LevelN + 1
|
||||
else
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user