1
0
Fork 0
mirror of https://fem.mint.lgbt/m/Rhythmblock.git synced 2024-08-14 20:27:11 +00:00

fixed bug that slipped through the cracks

This commit is contained in:
mint 2021-05-07 15:05:13 -04:00
parent 0da7d16bc0
commit 493dcf278b

View file

@ -74,7 +74,7 @@ function ejectDisc() -- Ejects the disc! How cool is that?
buttonRender(false) buttonRender(false)
if playing then if playing then
stopDisc() stopDisc()
disk.eject() disk.eject(drive)
elseif disk.isPresent(drive) then -- If there's a disc, it'll be ejected. elseif disk.isPresent(drive) then -- If there's a disc, it'll be ejected.
disk.eject(drive) disk.eject(drive)
else -- If not it'll report there's no disc. else -- If not it'll report there's no disc.