Commit 3898fe6b authored by mercury233's avatar mercury233

add page clear

parent d1a712c8
...@@ -245,18 +245,23 @@ ...@@ -245,18 +245,23 @@
} }
function renderPage() { function renderPage() {
if (monsterTable) { if (monsterTable) {
monsterTable.clear();
monsterTable.destroy(); monsterTable.destroy();
} }
if (spellTable) { if (spellTable) {
spellTable.clear();
spellTable.destroy(); spellTable.destroy();
} }
if (trapTable) { if (trapTable) {
trapTable.clear();
trapTable.destroy(); trapTable.destroy();
} }
if (exTable) { if (exTable) {
exTable.clear();
exTable.destroy(); exTable.destroy();
} }
if (sideTable) { if (sideTable) {
sideTable.clear();
sideTable.destroy(); sideTable.destroy();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment