Skip to content

Commit 37f9f0a

Browse files
committed
Duh.
1 parent ce42a5d commit 37f9f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Entities/GlobalScript.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ namespace RTE {
7575
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7676

7777
const std::vector<std::unique_ptr<PieSlice>>& GlobalScript::GetPieSlicesToAdd() const {
78-
const std::vector<std::unique_ptr<PieSlice>> emptyVector;
78+
static const std::vector<std::unique_ptr<PieSlice>> emptyVector;
7979
if (!m_HasStarted || !m_IsActive || !g_SettingsMan.IsGlobalScriptEnabled(GetModuleAndPresetName())) {
8080
return emptyVector;
8181
}

0 commit comments

Comments
 (0)