From 0b4f70a76b64671c751043f8249363f4c8dddda5 Mon Sep 17 00:00:00 2001 From: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> Date: Fri, 8 Mar 2024 17:29:40 -0800 Subject: [PATCH] Update StoryBoxInteractServer.cpp (#1500) Update StoryBoxInteractServer.cpp --- dScripts/02_server/Map/General/StoryBoxInteractServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dScripts/02_server/Map/General/StoryBoxInteractServer.cpp b/dScripts/02_server/Map/General/StoryBoxInteractServer.cpp index dd0a86d9..4ad78d6a 100644 --- a/dScripts/02_server/Map/General/StoryBoxInteractServer.cpp +++ b/dScripts/02_server/Map/General/StoryBoxInteractServer.cpp @@ -29,7 +29,7 @@ void StoryBoxInteractServer::OnUse(Entity* self, Entity* user) { return; } - if (!self->HasVar(u"storyText") || !self->HasVar(u"altFlagID")) return; + if (!self->HasVar(u"storyText")) return; const auto storyText = self->GetVarAsString(u"storyText"); if (storyText.length() > 2) { auto storyValue = GeneralUtils::TryParse(storyText.substr(storyText.length() - 2));