From 94747fa0099ee8a0a03cbe26cf6d8abea8b8c81b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Guilloux?= Date: Fri, 30 Aug 2024 19:54:55 +0200 Subject: [PATCH] Fix #337: Station 'availability' is a purchase callback (#338) --- nml/actions/action3_callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nml/actions/action3_callbacks.py b/nml/actions/action3_callbacks.py index cf774c68..2ac9753a 100644 --- a/nml/actions/action3_callbacks.py +++ b/nml/actions/action3_callbacks.py @@ -138,7 +138,7 @@ def vehicle_length(value): # Stations callbacks[0x04] = { - 'availability' : {'type': 'cb', 'num': 0x13, 'flag_bit': 0}, + 'availability' : {'type': 'cb', 'num': 0x13, 'flag_bit': 0, 'purchase': 2}, 'select_sprite_layout' : {'type': 'cb', 'num': 0x14, 'flag_bit': 1, 'purchase': 'purchase_select_sprite_layout'}, 'purchase_select_sprite_layout' : {'type': 'cb', 'num': 0x14, 'flag_bit': 1, 'purchase': 2}, 'select_tile_type' : {'type': 'cb', 'num': 0x24, 'purchase': 2},