summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-02-12 01:06:53 +0100
committerAki <please@ignore.pl>2023-02-12 01:06:53 +0100
commitd85120a0255d3b37b57323a7a18f87a1dd0ab62a (patch)
treec49b826aeb9c5e13f4b26d3388683f663e694309
parent25c9ae798c563e77edac7195777e219a00ca20f7 (diff)
downloadkurator-d85120a0255d3b37b57323a7a18f87a1dd0ab62a.zip
kurator-d85120a0255d3b37b57323a7a18f87a1dd0ab62a.tar.gz
kurator-d85120a0255d3b37b57323a7a18f87a1dd0ab62a.tar.bz2
Force Balance is now shown in Scenario Editor
-rw-r--r--kurator/src/Battle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kurator/src/Battle.cpp b/kurator/src/Battle.cpp
index 9f33d59..380cef1 100644
--- a/kurator/src/Battle.cpp
+++ b/kurator/src/Battle.cpp
@@ -57,6 +57,7 @@ Battle::Battle(std::shared_ptr<Session> _session, campaign::Scenario scenario, B
registry.emplace<PopupEmitter>(entity);
}
camera.scale = std::min(GetScreenWidth()/30000.0, GetScreenHeight()/30000.0);
+ balance.update(registry);
}