mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
Additional fix #333
This commit is contained in:
@@ -920,7 +920,7 @@ function Metrostroi.Load(name,keep_signs)
|
||||
-- Create paths definition
|
||||
Metrostroi.Paths = {}
|
||||
if true then return end
|
||||
print(type(TrackLoadedData))
|
||||
-- print(type(TrackLoadedData))
|
||||
for pathID,path in pairs(TrackLoadedData) do
|
||||
local currentPath = { id = pathID }
|
||||
Metrostroi.Paths[pathID] = currentPath
|
||||
@@ -1114,7 +1114,7 @@ function Metrostroi.Load(name,keep_signs)
|
||||
if auto then
|
||||
for k,v in pairs(auto) do
|
||||
local ent = ents.Create("gmod_track_autodrive_plate")
|
||||
print(k,v,ent)
|
||||
-- print(k,v,ent)
|
||||
if IsValid(ent) then
|
||||
ent:SetPos(v.Pos)
|
||||
ent:SetAngles(v.Angles)
|
||||
|
||||
Reference in New Issue
Block a user