mozaik bugfix

This commit is contained in:
markojozsef
2026-10-14 12:53:45 +02:00
parent d428aed8c8
commit 86048b5ae7
3 changed files with 12 additions and 12 deletions

View File

@@ -92,14 +92,13 @@ def update(game, dt):
btrans_timer += dt
if btrans_timer >= BTRANS_DURATION:
game.mos_enabled = False
game.mosaic = 1
btrans_active = False
btrans_sound.stop()
gamestate.switch_gamestate(game, "battle")
game.mos_enabled = True
cycle_progress = (btrans_timer % BTRANS_PULSE_DUR) / BTRANS_PULSE_DUR
game.mosaic = max(1, math.floor(cycle_progress * 16))
game.mosaic = max(1, math.floor(cycle_progress * 8))
return
balthasar.update()