hopefully fix kernel panics making BSODs not visible under some circumstances?

This commit is contained in:
ocawesome101 2021-05-27 19:27:49 -04:00
parent 9cb94c6a6c
commit 6de77feaae
1 changed files with 5 additions and 1 deletions

View File

@ -31,7 +31,11 @@ function boot.boot()
gpu.setBackground(0x000000)
native.sleep(4000000)
os.exit(1)
if modules.computer and modules.computer.shutdown() then
modules.computer.shutdown()
else
os.exit(1)
end
end)
end