mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-01-08 00:03:21 +00:00
fix blast clientside anim possibly?
This commit is contained in:
parent
ff217be6f4
commit
f1341f8717
1 changed files with 4 additions and 2 deletions
|
|
@ -1937,8 +1937,10 @@ class Marble extends GameObject {
|
|||
}
|
||||
if (Net.isClient && !this.controllable && (this.serverTicks - this.blastUseTick) < 12) {
|
||||
var ticksSince = (this.serverTicks - this.blastUseTick);
|
||||
this.blastWave.doSequenceOnceBeginTime = this.level.timeState.timeSinceLoad - ticksSince * 0.032;
|
||||
this.blastUseTime = this.level.timeState.currentAttemptTime - ticksSince * 0.032;
|
||||
if (ticksSince >= 0) {
|
||||
this.blastWave.doSequenceOnceBeginTime = this.level.timeState.timeSinceLoad - ticksSince * 0.032;
|
||||
this.blastUseTime = this.level.timeState.currentAttemptTime - ticksSince * 0.032;
|
||||
}
|
||||
}
|
||||
|
||||
// if (this.controllable && Net.isClient) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue