Ticket #5099: notapatch.js

File notapatch.js, 200 bytes (added by fatherbushido, 6 years ago)

nocomments, nounittests, notadressingthewholeticket, notapatch

Line 
1Auras.prototype.OnPlayerDefeated = function(msg)
2 {
3 let cmpPlayer = Engine.QueryInterface(this.entity, IID_Player);
4 if (cmpPlayer && cmpPlayer.GetPlayerID() == msg.playerID)
5 this.Clean();
6 };
7