mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 15:07:28 +00:00
Merge branch 'main' into movementAiPorting
This commit is contained in:
commit
62d973e272
@ -29,7 +29,7 @@ void StoryBoxInteractServer::OnUse(Entity* self, Entity* user) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!self->HasVar(u"storyText") || !self->HasVar(u"altFlagID")) return;
|
if (!self->HasVar(u"storyText")) return;
|
||||||
const auto storyText = self->GetVarAsString(u"storyText");
|
const auto storyText = self->GetVarAsString(u"storyText");
|
||||||
if (storyText.length() > 2) {
|
if (storyText.length() > 2) {
|
||||||
auto storyValue = GeneralUtils::TryParse<uint32_t>(storyText.substr(storyText.length() - 2));
|
auto storyValue = GeneralUtils::TryParse<uint32_t>(storyText.substr(storyText.length() - 2));
|
||||||
|
Loading…
Reference in New Issue
Block a user