jstanks: allow simultaneous cannon firing

This commit is contained in:
Alyssa Milburn 2014-07-28 21:49:59 +02:00
parent 0c319ec23e
commit 79dc0cc376
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ var rotate_point = function(angle, point) {
ForfTank.prototype.fireCannon = function(that, vector, dist2) {
/* If someone's a crater, this is easy */
if (this.killer || that.killer) {
if ((this.killer && this.killer !== that) || that.killer) {
return;
}