Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Duh.
Browse files Browse the repository at this point in the history
  • Loading branch information
Causeless committed Dec 28, 2023
1 parent ce42a5d commit 37f9f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Entities/GlobalScript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ namespace RTE {
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

const std::vector<std::unique_ptr<PieSlice>>& GlobalScript::GetPieSlicesToAdd() const {
const std::vector<std::unique_ptr<PieSlice>> emptyVector;
static const std::vector<std::unique_ptr<PieSlice>> emptyVector;
if (!m_HasStarted || !m_IsActive || !g_SettingsMan.IsGlobalScriptEnabled(GetModuleAndPresetName())) {
return emptyVector;
}
Expand Down

0 comments on commit 37f9f0a

Please sign in to comment.