From 020f5e4a586c394729d3e571177e0019a3d1966c Mon Sep 17 00:00:00 2001 From: libccy Date: Mon, 20 Mar 2017 16:15:34 +0800 Subject: [PATCH] f --- game/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/game.js b/game/game.js index 7273187f7..c027b957d 100644 --- a/game/game.js +++ b/game/game.js @@ -32852,7 +32852,7 @@ if(lib.config.change_skin_auto!='off'){ _status.skintimeout=setTimeout(ui.click.autoskin,parseInt(lib.config.change_skin_auto)); } - if(lib.config.border_style.indexOf('dragon_')==0){ + if(lib.config.border_style&&lib.config.border_style.indexOf('dragon_')==0){ ui.arena.dataset.framedecoration=lib.config.border_style.slice(7); }