mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-15 00:07:08 +01:00
Fix an issue with command listeners not retaining the help/info messages. Credits @DrakezZ for spotting the issue.
This commit is contained in:
1 parent
6975572bfe
commit
8ad3eb8c4e
1 file changed
+4
-4
+4
-4
@@ -1324,11 +1324,11 @@ public:
|
|||||||
{
|
{
|
||||||
if (help)
|
if (help)
|
||||||
{
|
{
|
||||||
m_Help.clear();
|
m_Help.assign(help);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_Help.assign(help);
|
m_Help.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1347,11 +1347,11 @@ public:
|
|||||||
{
|
{
|
||||||
if (info)
|
if (info)
|
||||||
{
|
{
|
||||||
m_Info.clear();
|
m_Info.assign(info);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_Info.assign(info);
|
m_Info.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user