]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugin_runner.cpp
Fixed invalid parameter passing.
[stg.git] / projects / stargazer / plugin_runner.cpp
index 0bf159b8ee5bf58601bbf88a35269e9772060629..3083352c41b8c08b12e1022c970c384abca9e8c6 100644 (file)
@@ -178,9 +178,7 @@ if (!plugin)
     return -1;
     }
 
-plugin->Stop();
-
-return 0;
+return plugin->Stop();
 }
 //-----------------------------------------------------------------------------
 int PLUGIN_RUNNER::Reload()