mirror of
https://github.com/TangentFoxy/Pop.Box.git
synced 2024-12-15 12:44:20 +00:00
fixes, simple
This commit is contained in:
parent
630cb51b59
commit
adb74f476a
@ -426,7 +426,7 @@
|
|||||||
</div> <!-- id="main" -->
|
</div> <!-- id="main" -->
|
||||||
<div id="about">
|
<div id="about">
|
||||||
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
||||||
<i style="float:right;">Last updated 2017-04-12 03:37:15 </i>
|
<i style="float:right;">Last updated 2017-04-13 08:11:30 </i>
|
||||||
</div> <!-- id="about" -->
|
</div> <!-- id="about" -->
|
||||||
</div> <!-- id="container" -->
|
</div> <!-- id="container" -->
|
||||||
</body>
|
</body>
|
||||||
|
@ -144,7 +144,7 @@
|
|||||||
</div> <!-- id="main" -->
|
</div> <!-- id="main" -->
|
||||||
<div id="about">
|
<div id="about">
|
||||||
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
||||||
<i style="float:right;">Last updated 2017-04-12 03:37:15 </i>
|
<i style="float:right;">Last updated 2017-04-13 08:11:30 </i>
|
||||||
</div> <!-- id="about" -->
|
</div> <!-- id="about" -->
|
||||||
</div> <!-- id="container" -->
|
</div> <!-- id="container" -->
|
||||||
</body>
|
</body>
|
||||||
|
@ -84,7 +84,7 @@
|
|||||||
</div> <!-- id="main" -->
|
</div> <!-- id="main" -->
|
||||||
<div id="about">
|
<div id="about">
|
||||||
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
||||||
<i style="float:right;">Last updated 2017-04-12 03:37:15 </i>
|
<i style="float:right;">Last updated 2017-04-13 08:11:30 </i>
|
||||||
</div> <!-- id="about" -->
|
</div> <!-- id="about" -->
|
||||||
</div> <!-- id="container" -->
|
</div> <!-- id="container" -->
|
||||||
</body>
|
</body>
|
||||||
|
@ -491,7 +491,7 @@
|
|||||||
</div> <!-- id="main" -->
|
</div> <!-- id="main" -->
|
||||||
<div id="about">
|
<div id="about">
|
||||||
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
||||||
<i style="float:right;">Last updated 2017-04-12 03:37:15 </i>
|
<i style="float:right;">Last updated 2017-04-13 08:11:30 </i>
|
||||||
</div> <!-- id="about" -->
|
</div> <!-- id="about" -->
|
||||||
</div> <!-- id="container" -->
|
</div> <!-- id="container" -->
|
||||||
</body>
|
</body>
|
||||||
|
@ -105,7 +105,7 @@
|
|||||||
</div> <!-- id="main" -->
|
</div> <!-- id="main" -->
|
||||||
<div id="about">
|
<div id="about">
|
||||||
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
||||||
<i style="float:right;">Last updated 2017-04-12 03:37:15 </i>
|
<i style="float:right;">Last updated 2017-04-13 08:11:30 </i>
|
||||||
</div> <!-- id="about" -->
|
</div> <!-- id="about" -->
|
||||||
</div> <!-- id="container" -->
|
</div> <!-- id="container" -->
|
||||||
</body>
|
</body>
|
||||||
|
@ -758,7 +758,7 @@ table.insert element.parent, element.parent\removeChild(element),
|
|||||||
</div> <!-- id="main" -->
|
</div> <!-- id="main" -->
|
||||||
<div id="about">
|
<div id="about">
|
||||||
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
||||||
<i style="float:right;">Last updated 2017-04-12 03:37:15 </i>
|
<i style="float:right;">Last updated 2017-04-13 08:11:30 </i>
|
||||||
</div> <!-- id="about" -->
|
</div> <!-- id="about" -->
|
||||||
</div> <!-- id="container" -->
|
</div> <!-- id="container" -->
|
||||||
</body>
|
</body>
|
||||||
|
@ -126,7 +126,7 @@
|
|||||||
</div> <!-- id="main" -->
|
</div> <!-- id="main" -->
|
||||||
<div id="about">
|
<div id="about">
|
||||||
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
||||||
<i style="float:right;">Last updated 2017-04-12 03:37:15 </i>
|
<i style="float:right;">Last updated 2017-04-13 08:11:30 </i>
|
||||||
</div> <!-- id="about" -->
|
</div> <!-- id="about" -->
|
||||||
</div> <!-- id="container" -->
|
</div> <!-- id="container" -->
|
||||||
</body>
|
</body>
|
||||||
|
@ -122,20 +122,25 @@ do
|
|||||||
for i = #self.child, 1, -1 do
|
for i = #self.child, 1, -1 do
|
||||||
self.child[i]:delete()
|
self.child[i]:delete()
|
||||||
end
|
end
|
||||||
|
if self.parent then
|
||||||
for i = 1, #self.parent.child do
|
for i = 1, #self.parent.child do
|
||||||
if self.parent.child[i] == self then
|
if self.parent.child[i] == self then
|
||||||
table.remove(self.parent.child, i)
|
table.remove(self.parent.child, i)
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
if self.parent then
|
||||||
for i = 1, #self.parent.data.child do
|
for i = 1, #self.parent.data.child do
|
||||||
if self.parent.data.child[i] == self.data then
|
if self.parent.data.child[i] == self.data then
|
||||||
table.remove(self.parent.data.child, i)
|
table.remove(self.parent.data.child, i)
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
self.parent = nil
|
self.parent = nil
|
||||||
self.data.parent = nil
|
self.data.parent = nil
|
||||||
|
self = nil
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
_base_0.__index = _base_0
|
_base_0.__index = _base_0
|
||||||
|
@ -155,17 +155,19 @@ class element
|
|||||||
for i=#@child, 1, -1
|
for i=#@child, 1, -1
|
||||||
@child[i]\delete!
|
@child[i]\delete!
|
||||||
|
|
||||||
|
if @parent
|
||||||
for i=1, #@parent.child
|
for i=1, #@parent.child
|
||||||
if @parent.child[i] == @
|
if @parent.child[i] == @
|
||||||
table.remove @parent.child, i
|
table.remove @parent.child, i
|
||||||
break
|
break
|
||||||
|
|
||||||
|
if @parent
|
||||||
for i=1, #@parent.data.child
|
for i=1, #@parent.data.child
|
||||||
if @parent.data.child[i] == @data
|
if @parent.data.child[i] == @data
|
||||||
table.remove @parent.data.child, i
|
table.remove @parent.data.child, i
|
||||||
break
|
break
|
||||||
|
|
||||||
@parent = nil
|
@parent = nil
|
||||||
@data.parent = nil -- should be for all @ -> nil
|
@data.parent = nil -- should be for all @ -> nil MAYBE
|
||||||
--@ = nil <- or that, does that work? Idk
|
@ = nil
|
||||||
-- DO NOT DELETE @data though, it could still be in use
|
-- DO NOT DELETE @data though, it could still be in use
|
||||||
|
Loading…
Reference in New Issue
Block a user