Skip to content

Commit

Permalink
Have termRestore() actually restore under CC>=1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
thetaphi committed Apr 1, 2015
1 parent db98a65 commit 66e39f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lolmer_bigreactor_monitor_prog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ local function termRestore()
ccVersion = os.version()

if ccVersion == "CraftOS 1.6" or "CraftOS 1.7" then
term.native()
term.redirect(term.native())
elseif ccVersion == "CraftOS 1.5" then
term.restore()
else -- Default to older term.restore
Expand Down

0 comments on commit 66e39f5

Please sign in to comment.