fp: Fix incorrect binding for moving building cursor right

This commit is contained in:
doyle 2023-10-21 16:33:22 +11:00
parent 5d37c49f51
commit 2b9925311f

View File

@ -1823,7 +1823,7 @@ void FP_Update(TELY_Platform *platform, FP_Game *game, TELY_PlatformInput *input
}
}
if (FP_Game_KeyBindIsPressed(input, controls, controls->move_building_ui_cursor_left)) {
if (FP_Game_KeyBindIsPressed(input, controls, controls->move_building_ui_cursor_right)) {
if (entity->build_mode_building_index >= last_building_index) {
entity->build_mode_building_index = 0;
} else {