CHollingworth / Lampray

Linux Application Modding Platform. A native Linux mod manager.
https://www.nexusmods.com/baldursgate3/mods/2169
The Unlicense
174 stars 16 forks source link

warning about missing return statement from deployment() method #132

Open hw-claudio opened 6 months ago

hw-claudio commented 6 months ago

Probably we want something like:

diff --git a/game-data/BG3/BG3.cpp b/game-data/BG3/BG3.cpp
index 3011dae..c93e688 100644
--- a/game-data/BG3/BG3.cpp
+++ b/game-data/BG3/BG3.cpp
@@ -420,6 +420,7 @@ Lamp::Game::lampReturn Lamp::Game::BG3::deployment() {
         };
         Lamp::Core::FS::lampTrack::handleFile(E);
     Lamp::Core::lampControl::getInstance().deplopmentTracker = {4,4};
+       return true;
 }