删除多余变量

This commit is contained in:
郑浩乐
2016-01-01 01:05:22 +08:00
parent f202f1f707
commit cfc1f7498d
2 changed files with 9 additions and 7 deletions

View File

@@ -89,7 +89,7 @@ function Game(id,options){
f++;
stage.items.forEach(function(item,index){
if(!(f%item.speed)){
item.times = f/item.speed; //计数器
item.times = f/item.speed; //计数器
}
item.update(_context);
});