1
0
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:
Ilya Krasnow
2021-12-12 03:12:06 +03:00
parent 4b0abb7ba5
commit 508a24675a
5 changed files with 8 additions and 8 deletions

View File

@@ -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)