From 741b0b77ed909a110d5c8ca162903329c344b1b4 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sat, 9 Sep 2023 16:50:05 -0600 Subject: [PATCH] lightpreview: fix loading a .bsp failing if there were light options set in the ui --- lightpreview/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightpreview/mainwindow.cpp b/lightpreview/mainwindow.cpp index 548d1f90..0b740497 100644 --- a/lightpreview/mainwindow.cpp +++ b/lightpreview/mainwindow.cpp @@ -678,7 +678,7 @@ int MainWindow::compileMap(const QString &file, bool is_reload) LoadBSPFile(fs_path, &m_bspdata); - auto opts = ParseArgs(light_options); + auto opts = ParseArgs(common_options); std::vector argPtrs;