From 8e96efdec8e3349940b5462c515aa697acb5136a Mon Sep 17 00:00:00 2001 From: glx22 Date: Fri, 30 Aug 2024 16:36:44 +0200 Subject: [PATCH] Fix #337: Station 'availability' is a purchase callback --- 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},