Return what is present in ows instead

This commit is contained in:
dvdvideo1234 2023-01-13 20:51:42 +02:00
parent 5e09dcd6a1
commit 57b438073c
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ local asmlib = trackasmlib; if(not asmlib) then -- Module present
------------ CONFIGURE ASMLIB ------------ ------------ CONFIGURE ASMLIB ------------
asmlib.InitBase("track","assembly") asmlib.InitBase("track","assembly")
asmlib.SetOpVar("TOOL_VERSION","8.699") asmlib.SetOpVar("TOOL_VERSION","8.700")
asmlib.SetIndexes("V" ,1,2,3) asmlib.SetIndexes("V" ,1,2,3)
asmlib.SetIndexes("A" ,1,2,3) asmlib.SetIndexes("A" ,1,2,3)
asmlib.SetIndexes("WV",1,2,3) asmlib.SetIndexes("WV",1,2,3)

View File

@ -292,7 +292,7 @@ function GetOwner(oEnt)
if(IsPlayer(ows)) then return ows else ows = nil end if(IsPlayer(ows)) then return ows else ows = nil end
set = set.undo1; ows = (set.Args and set.Args[1] or nil) set = set.undo1; ows = (set.Args and set.Args[1] or nil)
if(IsPlayer(ows)) then return ows else ows = nil end if(IsPlayer(ows)) then return ows else ows = nil end
end; return nil -- No owner is found. Nothing is returned end; return ows -- No owner is found. Nothing is returned
end end
function IsOther(oEnt) function IsOther(oEnt)