This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
gitlord
/
isleward
mirror of
https://gitlab.com/Isleward/isleward.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
203
Wiki
Activity
Browse Source
Destroy and remove effect before removing from array
tags/v0.10.6^2
kckckc
2 years ago
parent
034c50d76b
commit
6795f367fd
1 changed files
with
4 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-4
src/server/components/effects.js
+ 4
- 4
src/server/components/effects.js
View File
@@ -313,13 +313,13 @@ module.exports = {
e.update();
if (e.destroyed) {
effects.splice(i, 1);
eLen--;
i--;
this.destroyEffect(e);
this.syncRemove(e.id);
effects.splice(i, 1);
eLen--;
i--;
}
}
Write
Preview
Loading…
Cancel
Save