mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixed debug view and ragdoll start positioning
This commit is contained in:
parent
b6d979fe7c
commit
16826b174a
12 changed files with 135 additions and 73 deletions
|
|
@ -55,7 +55,9 @@ function (Parent, Nc) {
|
|||
};
|
||||
|
||||
Player.prototype.suicide = function() {
|
||||
this.addDamage(100, this, null);
|
||||
if(this.isSpawned()) {
|
||||
this.addDamage(100, this, null);
|
||||
}
|
||||
};
|
||||
|
||||
Player.prototype.addDamage = function(damage, enemy, byItem) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue