summaryrefslogtreecommitdiffhomepage
path: root/editor/app.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-06-10 10:57:53 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-06-10 10:57:53 +0200
commit411b53fd96b3e43960fcd1bf4bfeefe4c5e2f164 (patch)
treeb56da1aee8a89e0582b81bf85098c06f837fc6ed /editor/app.cpp
parentbb70c67f77fbd3a8d1af5d73bad27acf1b986fc6 (diff)
wip
Diffstat (limited to 'editor/app.cpp')
-rw-r--r--editor/app.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/app.cpp b/editor/app.cpp
index f988f230..fa1c9b76 100644
--- a/editor/app.cpp
+++ b/editor/app.cpp
@@ -78,6 +78,7 @@ void app::reset_world(struct world&& w_)
_editor.on_release();
_editor.clear_selection();
kill_popups(true);
+ _tested_light = 0;
clear_keys();
const auto pixel = cursor.pixel;