hide tongue in menu
This commit is contained in:
parent
d65a9fb8a5
commit
dd862a89cc
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ static class Arts
|
|||
// snake
|
||||
float snake_t = headmove.state ? Maths.u_clamp(Maths.smooth_stop((float)Mono.step_t) * 3.0f) : 1.0f;
|
||||
bool food_next = !Mono.eaten_latch.state && (Mono.snake[0] + Mono.snake_dir) == Mono.food;
|
||||
if (!food_next)
|
||||
if (!Mono.menu && !food_next)
|
||||
{
|
||||
meshes["Tongue"].Draw(
|
||||
mat_mono,
|
||||
|
|
Loading…
Add table
Reference in a new issue