mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
[XSwiftBus] Added missing return
https://discordapp.com/channels/539048679160676382/539925070550794240/689926933642870868
This commit is contained in:
committed by
Mat Sutcliffe
parent
3d1dad989e
commit
db81acf574
@@ -28,7 +28,7 @@ namespace XSwiftBus
|
||||
//! Init global xplane path
|
||||
void initXPlanePath()
|
||||
{
|
||||
if (!g_xplanePath.empty() && !g_sep.empty()) {}
|
||||
if (!g_xplanePath.empty() && !g_sep.empty()) { return; }
|
||||
|
||||
char xplanePath[512];
|
||||
XPLMGetSystemPath(xplanePath);
|
||||
|
||||
Reference in New Issue
Block a user