This commit is contained in:
oc 2018-06-28 18:17:38 +08:00
parent c4f65434ed
commit 6b77066d0f
2 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ maps.prototype.drawMap = function (mapName, callback) {
dx*=32; dy*=32;
var image = core.material.images.images[p];
if (!t[3]) {
if (/.*\.gif/i.test(p)) {
if (/.*\.gif/i.test(p) && main.mode=='play') {
core.dom.gif.innerHTML = "";
var gif = new Image();
gif.src = core.material.images.images[p].src;

BIN
project/images/1.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB