fix End Block Trais Changed bug
invesered trais before loading the cube scene
This commit is contained in:
+2
-1
@@ -227,7 +227,8 @@ function update() {
|
|||||||
}
|
}
|
||||||
Block.Time -= (Date.now() - Block.last_time)
|
Block.Time -= (Date.now() - Block.last_time)
|
||||||
Block.last_time = Date.now()
|
Block.last_time = Date.now()
|
||||||
if (Block.Time <= 0){
|
if (Block.Time <= 0){// si le block est fini
|
||||||
|
trais = !trais; //empecher l'inversion du trais
|
||||||
load_cube_scene()
|
load_cube_scene()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user