Oops moment
This commit is contained in:
parent
d18a576ba2
commit
0f1c2c0195
@ -186,7 +186,7 @@ namespace Components
|
|||||||
Script::AddFunction("IsEndStr", []() // gsc: IsEndStr(<string>, <string>)
|
Script::AddFunction("IsEndStr", []() // gsc: IsEndStr(<string>, <string>)
|
||||||
{
|
{
|
||||||
const auto* s1 = Game::Scr_GetString(0);
|
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)
|
if (s1 == nullptr || s2 == nullptr)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user