From e39fa2c90846822aa1b45a2b33b0f6eb4433a844 Mon Sep 17 00:00:00 2001 From: libccy Date: Sun, 19 Mar 2017 18:10:11 +0800 Subject: [PATCH] 4 --- game/game.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/game/game.js b/game/game.js index 308aafc19..ddf788f9b 100644 --- a/game/game.js +++ b/game/game.js @@ -6914,6 +6914,9 @@ else{ var script=document.createElement('script'); script.src = path+'/'+file+".js"; + if(path.indexOf('http')==0){ + script.src+='?rand='+get.id(); + } document.head.appendChild(script); if(typeof onload=='function'){ script.addEventListener('load',onload);