summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-02-10 23:11:16 +0100
committerAki <please@ignore.pl>2023-02-10 23:11:16 +0100
commit4487c71fc69af45a9c0786248b6a2af0b35cf86a (patch)
treee35ca06a4919c5046892a1c3e3760cda0264931c
parentfbeac799986d4d70d3937418218d01d39372bb00 (diff)
downloadkurator-4487c71fc69af45a9c0786248b6a2af0b35cf86a.zip
kurator-4487c71fc69af45a9c0786248b6a2af0b35cf86a.tar.gz
kurator-4487c71fc69af45a9c0786248b6a2af0b35cf86a.tar.bz2
Disabled skipping battle with space press
-rw-r--r--kurator/src/Battle.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/kurator/src/Battle.cpp b/kurator/src/Battle.cpp
index 37dda67..0f1f0ba 100644
--- a/kurator/src/Battle.cpp
+++ b/kurator/src/Battle.cpp
@@ -128,11 +128,6 @@ Battle::update(const float dt)
if (ImGui::Begin("Controls", nullptr, ImGuiWindowFlags_NoFocusOnAppearing))
time_controls("TimeControls", time_factor);
ImGui::End();
- if (IsKeyPressed(KEY_SPACE)) {
- if (report)
- report(log);
- session->set(std::make_shared<Summary>(session, log));
- }
}