Reduce delay when loading history.
This commit is contained in:
parent
762f2abab2
commit
939d9e5488
@ -820,10 +820,7 @@ const INTERFACE = {
|
||||
INTERFACE_DATA.player = data.player;
|
||||
}
|
||||
|
||||
INTERFACE_DATA.history = [ ];
|
||||
for(let i = 0; i < data.history.length; ++i) {
|
||||
INTERFACE.history_push(data.history[i]);
|
||||
}
|
||||
INTERFACE_DATA.history = data.history;
|
||||
let turn = INTERFACE_DATA.history.length;
|
||||
|
||||
if(INTERFACE_DATA.history.length > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user