mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-05-14 05:14:11 +00:00
Remove second fix
This commit is contained in:
parent
d6e4323f17
commit
fd842be37f
@ -246,9 +246,6 @@ function create( parent, nX, nY, nWidth, nHeight, bStartVisible )
|
|||||||
if type( x ) ~= "number" or type( y ) ~= "number" then
|
if type( x ) ~= "number" or type( y ) ~= "number" then
|
||||||
error( "Expected number, number", 2 )
|
error( "Expected number, number", 2 )
|
||||||
end
|
end
|
||||||
if x < 1 or y < 1 then
|
|
||||||
error( "Position out of range", 2 )
|
|
||||||
end
|
|
||||||
nCursorX = math.floor( x )
|
nCursorX = math.floor( x )
|
||||||
nCursorY = math.floor( y )
|
nCursorY = math.floor( y )
|
||||||
if bVisible then
|
if bVisible then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user