mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
added player health action view
This commit is contained in:
parent
c3aee14f23
commit
aa6fdaa2df
8 changed files with 214 additions and 44 deletions
|
|
@ -79,7 +79,7 @@ function (Doll, Settings, NotificationCenter) {
|
|||
this.holdingItem = null;
|
||||
};
|
||||
|
||||
Player.prototype.kill = function(killedBy) {
|
||||
Player.prototype.kill = function(killedByPlayer) {
|
||||
if(!this.isSpawned) return false;
|
||||
|
||||
// FIXME: do something better then just respawn in GameController
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue