1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-02 00:42:29 +00:00
This commit is contained in:
Hellss
2021-07-13 01:57:43 +03:00
committed by GitHub
parent 5a8017bd52
commit 0b180ef314
2 changed files with 6 additions and 7 deletions

View File

@@ -967,7 +967,6 @@ ENT.Spawner = {
ent.AR63:TriggerInput("Set",val<=2 and 1 or 0)
ent.R_UNch:TriggerInput("Set",val==1 and 1 or 0)
ent.R_Radio:TriggerInput("Set",val==1 and 1 or 0)
ent.L_4:TriggerInput("Set",val==1 and 1 or 0)
ent.BPSNon:TriggerInput("Set",(val==1 and first) and 1 or 0)
ent.VMK:TriggerInput("Set",(val==1 and first) and 1 or 0)
ent.ARS:TriggerInput("Set",(ent.Plombs.RC1 and val==1 and first) and 1 or 0)
@@ -990,10 +989,6 @@ ENT.Spawner = {
ent.BV:TriggerInput("Enable",1)
end)
end
ent.Pneumatic.RightDoorState = val==4 and {1,1,1,1} or {0,0,0,0}
ent.Pneumatic.DoorRight = val==4
ent.Pneumatic.LeftDoorState = val==4 and {1,1,1,1} or {0,0,0,0}
ent.Pneumatic.DoorLeft = val==4
ent.GV:TriggerInput("Set",val<4 and 1 or 0)
ent._SpawnerStarted = val
end