I should not be allowed to operate a computer.

This commit is contained in:
Izaya 2023-08-07 13:38:59 +10:00
parent ad8a4813ee
commit fc22ee6f08
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ function proxy:readHandle(h,s)
local handle, rb = self.handles[h]
if handle.currentSector < handle.ft[3] - 1 then
local rb = self.d.readSector(handle.ft[2] + handle.currentSector)
if handle.currentSector == handle.ft[3] - 1 then
elseif handle.currentSector == handle.ft[3] - 1 then
local rb = self.d.readSector(handle.ft[2] + handle.currentSector):gsub("\0+$","")
else
return nil