Oops moment

This commit is contained in:
Diavolo 2022-04-10 14:37:04 +02:00
parent d18a576ba2
commit 0f1c2c0195
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -186,7 +186,7 @@ namespace Components
Script::AddFunction("IsEndStr", []() // gsc: IsEndStr(<string>, <string>)
{
const auto* s1 = Game::Scr_GetString(0);
const auto* s2 = Game::Scr_GetString(0);
const auto* s2 = Game::Scr_GetString(1);
if (s1 == nullptr || s2 == nullptr)
{