|
|
|
|
@ -148,11 +148,14 @@ function BaseControl:finalize(waits, timeout)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
-- Announce own nouns and verbs
|
|
|
|
|
local nouns, verbs = self:nouns(true), self:verbs(true)
|
|
|
|
|
if #nouns > 0 or #verbs > 0 then
|
|
|
|
|
self.network:broadcast{
|
|
|
|
|
ty=Message.Register,
|
|
|
|
|
nouns=self:nouns(true),
|
|
|
|
|
verbs=self:verbs(true),
|
|
|
|
|
nouns=nouns,
|
|
|
|
|
verbs=verbs,
|
|
|
|
|
}
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
if #(waits or {}) ~= 0 then
|
|
|
|
|
-- Wait for requested names
|
|
|
|
|
|