When right clicking on some screens (as far as I can tell, specifically on a card in a screen, e.g. a card in the shop), the game will crash with a small window appearing saying "An error was encountered!" in the top left (a java window). When this crash occurs the game does NOT save, causing you to lose all your cards and when you reopen the game you just pick up where you left off last save.
**** forty-five log
**** produced by version 'rc241127'
**** LogLevel is debug
**** time is 03.02.2026 18:42:01.578
[18:42:01.586 UserPrefs] reading user_prefs
[18:42:01.658 PermaSaveState] reading SaveState
[18:42:01.680 SaveState] reading SaveState
[18:42:01.694 SaveState] cards: [bullet, bullet, bullet, bigBullet, silverBullet, workerBullet, incendiaryBullet, diamondBullet, shotgunshellBullet, guardianAngelBullet, rottenBullet, poisonBullet, shotgunshellBullet, bulletBulletBullet, bigBullet, poisonBullet]
[18:42:01.695 SaveState] stats: usedReserves = 119, enemiesDefeated = 7, playerMoney = 72, playerLives = 34maxPlayerLives = 35
[18:42:01.695 SaveState] position: currentMap = road_between_aqua_balle_and_tabu_letter_outpost, currentNode = 14
[18:42:01.789 serviceThread] starting up
[18:42:01.795 serviceThread] received message PrepareCards
-------------changing screen to screens/intro_screen.onj-------------
[18:42:02.126 serviceThread] received message PrepareResources
[18:42:02.294 serviceThread] received message PrepareResources
-------------changing screen to screens/title_screen.onj-------------
[18:42:12.719 serviceThread] received message DrawCardPixmap
[18:42:12.739 serviceThread] received message DrawCardPixmap
[18:42:12.781 style] attempted to animate a property of type YogaValue, but the units used are either mixed or set to auto or undefined
[18:42:12.786 style] attempted to animate a property of type YogaValue, but the units used are either mixed or set to auto or undefined
[18:42:12.787 serviceThread] received message PrepareResources
-------------changing screen to screens/map_screen.onj-------------
[18:42:16.530 serviceThread] received message DrawCardPixmap
[18:42:16.542 style] attempted to animate a property of type YogaValue, but the units used are either mixed or set to auto or undefined
[18:42:16.542 style] attempted to animate a property of type YogaValue, but the units used are either mixed or set to auto or undefined
[18:42:16.542 serviceThread] received message DrawCardPixmap
[18:42:16.544 style] attempted to animate a property of type YogaValue, but the units used are either mixed or set to auto or undefined
[18:42:16.554 serviceThread] received message PrepareResources
-------------changing screen to screens/shop_screen.onj-------------
[18:42:17.564 ShopCardsHandler] Creating 9 items
[18:42:17.582 serviceThread] received message DrawCardPixmap
[18:42:17.589 serviceThread] received message DrawCardPixmap
[18:42:17.590 serviceThread] received message DrawCardPixmap
[18:42:17.590 serviceThread] received message DrawCardPixmap
[18:42:17.591 serviceThread] received message DrawCardPixmap
[18:42:17.591 serviceThread] received message DrawCardPixmap
[18:42:17.591 serviceThread] received message DrawCardPixmap
[18:42:17.591 serviceThread] received message DrawCardPixmap
[18:42:17.591 serviceThread] received message DrawCardPixmap
[18:42:18.582 fatal] Encountered an exception that could not be recovered from
java.lang.RuntimeException: Actor: CardActor
at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:192)
at com.badlogic.gdx.scenes.scene2d.Actor.fire(Actor.java:152)
at com.badlogic.gdx.scenes.scene2d.Stage.touchDown(Stage.java:285)
at com.badlogic.gdx.InputMultiplexer.touchDown(InputMultiplexer.java:113)
at com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:67)
at com.badlogic.gdx.backends.lwjgl3.DefaultLwjgl3Input.update(DefaultLwjgl3Input.java:189)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:378)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:192)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:166)
at com.fourinachamber.fortyfive.DesktopLauncher.main(DesktopLauncher.java:27)
Caused by: java.lang.NullPointerException
at com.fourinachamber.fortyfive.game.card.CardActor$special$$inlined$onTouchEvent$1.touchDown(events.kt:620)
at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:64)
at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:188)
... 9 more
Describe the bug
When right clicking on some screens (as far as I can tell, specifically on a card in a screen, e.g. a card in the shop), the game will crash with a small window appearing saying "An error was encountered!" in the top left (a java window). When this crash occurs the game does NOT save, causing you to lose all your cards and when you reopen the game you just pick up where you left off last save.
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
Game should not crash?
Attachments
forty-five.log:
Version
rc241127