mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
Compare commits
2 Commits
b4fa4091df
...
131a3f6a62
Author | SHA1 | Date | |
---|---|---|---|
|
131a3f6a62 | ||
|
d8ccd421be |
@ -914,7 +914,7 @@ void Core::EmitPlayerCommand(int32_t player_id, const char * message)
|
||||
if (split)
|
||||
{
|
||||
// Create a string object for the command (don't include the space character)
|
||||
text = LightObj(message, static_cast< SQInteger >(split - message) - 1);
|
||||
text = LightObj(message, static_cast< SQInteger >(split - message));
|
||||
// Do we need to create a script object for arguments?
|
||||
if (std::strlen(split + 1) > 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user