mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix teleport + respawn crash
This commit is contained in:
parent
a861b94e69
commit
3a3345c4d3
1 changed files with 2 additions and 3 deletions
|
|
@ -1956,9 +1956,8 @@ class Marble extends GameObject {
|
|||
this.cloak = false;
|
||||
this._firstTick = true;
|
||||
if (this.teleporting) {
|
||||
var mesh:Mesh = cast this.children[0];
|
||||
mesh.material.mainPass.removeShader(mesh.material.mainPass.getShader(AlphaMult));
|
||||
mesh.material.blendMode = None;
|
||||
var ourDts:DtsObject = cast this.children[0];
|
||||
ourDts.setOpacity(1);
|
||||
}
|
||||
this.teleporting = false;
|
||||
this.teleportDisableTime = null;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue