fix:对决-对抗点换边等按钮会重复ui.create.system加右上角按钮
This commit is contained in:
parent
7af34d8f66
commit
d4455d3f40
|
@ -1799,7 +1799,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
lib.storage.ladder.current = 900;
|
lib.storage.ladder.current = 900;
|
||||||
game.save("ladder", lib.storage.ladder);
|
game.save("ladder", lib.storage.ladder);
|
||||||
}
|
}
|
||||||
ui.ladder = ui.create.system(
|
if(!ui.ladder) ui.ladder = ui.create.system(
|
||||||
game.getLadderName(lib.storage.ladder.current),
|
game.getLadderName(lib.storage.ladder.current),
|
||||||
null,
|
null,
|
||||||
true
|
true
|
||||||
|
|
Loading…
Reference in New Issue