mirror of
https://github.com/dvdvideo1234/TrackAssemblyTool.git
synced 2025-03-04 03:13:32 -05:00
Added: .gitattributes
Changed: LF for *lua *cpp *h *txt Changed: if() reordering
This commit is contained in:
parent
21e7ea6984
commit
ee1a81c3fe
6
.gitattributes
vendored
Normal file
6
.gitattributes
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
*.h text eol=lf
|
||||||
|
*.cpp text eol=lf
|
||||||
|
*.lua text eol=lf
|
||||||
|
*.json text eol=lf
|
||||||
|
*.bat text eol=crlf
|
||||||
|
*.md text eol=lf
|
@ -3,3 +3,6 @@ X - Fail
|
|||||||
D - Discontinued
|
D - Discontinued
|
||||||
N - Not applicable
|
N - Not applicable
|
||||||
? - Not yet tested
|
? - Not yet tested
|
||||||
|
|
||||||
|
Make TA export the database in Unix format
|
||||||
|
Make the player own the track spawned
|
||||||
|
@ -26,7 +26,7 @@ local asmlib = trackasmlib
|
|||||||
|
|
||||||
------ CONFIGURE ASMLIB ------
|
------ CONFIGURE ASMLIB ------
|
||||||
asmlib.InitAssembly("track","assembly")
|
asmlib.InitAssembly("track","assembly")
|
||||||
asmlib.SetOpVar("TOOL_VERSION","5.237")
|
asmlib.SetOpVar("TOOL_VERSION","5.238")
|
||||||
asmlib.SetLogControl(0,"")
|
asmlib.SetLogControl(0,"")
|
||||||
asmlib.SetIndexes("V",1,2,3)
|
asmlib.SetIndexes("V",1,2,3)
|
||||||
asmlib.SetIndexes("A",1,2,3)
|
asmlib.SetIndexes("A",1,2,3)
|
||||||
|
@ -1371,8 +1371,7 @@ function TOOL:Think()
|
|||||||
if(self:GetGhostHolder() ~= 0 and utilIsValidModel(model)) then
|
if(self:GetGhostHolder() ~= 0 and utilIsValidModel(model)) then
|
||||||
if (not self.GhostEntity or
|
if (not self.GhostEntity or
|
||||||
not self.GhostEntity:IsValid() or
|
not self.GhostEntity:IsValid() or
|
||||||
self.GhostEntity:GetModel() ~= model
|
self.GhostEntity:GetModel() ~= model) then -- If none ...
|
||||||
) then -- If none ...
|
|
||||||
self:MakeGhostEntity(model)
|
self:MakeGhostEntity(model)
|
||||||
end
|
end
|
||||||
self:UpdateGhost(self.GhostEntity, self:GetOwner())
|
self:UpdateGhost(self.GhostEntity, self:GetOwner())
|
||||||
|
@ -17,7 +17,7 @@ title Addon %Name% updater/publisher
|
|||||||
echo Press Crtl+C to terminate !
|
echo Press Crtl+C to terminate !
|
||||||
echo Press a key if you do not want to wait !
|
echo Press a key if you do not want to wait !
|
||||||
echo Rinning in %RevPath%.
|
echo Rinning in %RevPath%.
|
||||||
echo Npp Find --\h{1,}\r\n-- replace --\r\n-- in dos format before commit !
|
echo Npp Find --\h{1,}\n-- replace --\n-- in dos format before commit !
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
timeout 3
|
timeout 3
|
||||||
|
Loading…
Reference in New Issue
Block a user