mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-23 10:38:05 +11:00
Made minitel reset the modems table before filling
This commit is contained in:
parent
8de556a21c
commit
372690f2f8
@ -67,6 +67,7 @@ function start()
|
|||||||
end
|
end
|
||||||
print("Hostname: "..hostname)
|
print("Hostname: "..hostname)
|
||||||
if listener then return end
|
if listener then return end
|
||||||
|
modems={}
|
||||||
for a,t in component.list("modem") do
|
for a,t in component.list("modem") do
|
||||||
modems[#modems+1] = component.proxy(a)
|
modems[#modems+1] = component.proxy(a)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user