Skip to content

Commit

Permalink
Fix #337: Station 'availability' is a purchase callback (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
glx22 authored Aug 30, 2024
1 parent a139540 commit 94747fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nml/actions/action3_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 94747fa

Please sign in to comment.