Remove ; and little fix to MiniWindow
This commit is contained in:
parent
85b52fbdfd
commit
16a3dd2b7e
|
@ -110,6 +110,7 @@ function UIMiniWindow:onSetup()
|
|||
|
||||
self.miniLoaded = true
|
||||
|
||||
if self.save then
|
||||
if oldParent and oldParent:getClassName() == 'UIMiniWindowContainer' then
|
||||
oldParent:order()
|
||||
end
|
||||
|
@ -117,6 +118,7 @@ function UIMiniWindow:onSetup()
|
|||
newParent:order()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function UIMiniWindow:onDragEnter(mousePos)
|
||||
local parent = self:getParent()
|
||||
|
|
|
@ -276,7 +276,7 @@ void Item::serializeItem(const BinaryWriteTreePtr& out)
|
|||
out->writeU8(ATTR_COUNT);
|
||||
out->writeU8(getCount());
|
||||
|
||||
out->writeU8(ATTR_CHARGES);;
|
||||
out->writeU8(ATTR_CHARGES);
|
||||
out->writeU16(getCountOrSubType());
|
||||
|
||||
Position dest = m_attribs.get<Position>(ATTR_TELE_DEST);
|
||||
|
|
Loading…
Reference in New Issue