mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
Merge branch 'master' into subbodies
This commit is contained in:
commit
0b8d885d48
7 changed files with 56 additions and 30 deletions
|
|
@ -45,7 +45,7 @@ function(Parent, Nc, Parser, Settings) {
|
|||
this.player.suicide();
|
||||
};
|
||||
|
||||
PlayerController.prototype.mePositionStateUpdate = function(update) {
|
||||
PlayerController.prototype.mePositionStateOverride = function(update) {
|
||||
|
||||
if(!this.player.isSpawned()) {
|
||||
// if someone still falls but is dead on the server already
|
||||
|
|
@ -57,7 +57,7 @@ function(Parent, Nc, Parser, Settings) {
|
|||
y: Math.abs(update.p.y - this.player.doll.body.GetPosition().y)
|
||||
};
|
||||
|
||||
if(true || difference.x < Settings.PUNKBUSTER_DIFFERENCE_METERS &&
|
||||
if(difference.x < Settings.PUNKBUSTER_DIFFERENCE_METERS &&
|
||||
difference.y < Settings.PUNKBUSTER_DIFFERENCE_METERS) {
|
||||
this.player.doll.updatePositionState(update);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue