|
|
|
@ -147,7 +147,9 @@ function BaseControl:finalize(waits, timeout)
|
|
|
|
self = BaseControl:new()
|
|
|
|
self = BaseControl:new()
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
-- Announce own nouns and verbs
|
|
|
|
-- Announce own nouns and verbs if this is the first
|
|
|
|
|
|
|
|
-- call to finalize() and we have registered names
|
|
|
|
|
|
|
|
if not self.live then
|
|
|
|
local nouns, verbs = self:nouns(true), self:verbs(true)
|
|
|
|
local nouns, verbs = self:nouns(true), self:verbs(true)
|
|
|
|
if #nouns > 0 or #verbs > 0 then
|
|
|
|
if #nouns > 0 or #verbs > 0 then
|
|
|
|
self.network:broadcast{
|
|
|
|
self.network:broadcast{
|
|
|
|
@ -156,6 +158,7 @@ function BaseControl:finalize(waits, timeout)
|
|
|
|
verbs=verbs,
|
|
|
|
verbs=verbs,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if #(waits or {}) ~= 0 then
|
|
|
|
if #(waits or {}) ~= 0 then
|
|
|
|
-- Wait for requested names
|
|
|
|
-- Wait for requested names
|
|
|
|
|