diff --git a/source/application.cpp b/source/application.cpp index baea048..7450b3d 100644 --- a/source/application.cpp +++ b/source/application.cpp @@ -693,7 +693,7 @@ namespace gmtk { if (event.delta > 0) { - if (!selected_item_ && selected_ && !view_transition_) + if (selected_ && !view_transition_) { bool transitioned = false; @@ -788,6 +788,11 @@ namespace gmtk void on_event(app::key_event const & event) override { + if (event.down && event.key == app::keycode::F1) + { + for (auto type : card_type_values()) + map_.cards[type] += 10; + } if (event.down && event.key == app::keycode::F) {