fixed bug when registering plugin_(un)pause forward
This commit is contained in:
parent
e5057d7191
commit
d78ec24679
@ -238,8 +238,8 @@ CPluginMngr::CPlugin::CPlugin(int i, const char* p, const char* n, char* e, int
|
|||||||
|
|
||||||
if (status == ps_running)
|
if (status == ps_running)
|
||||||
{
|
{
|
||||||
m_PauseFwd = registerSPForwardByName(&amx, "plugin_pause");
|
m_PauseFwd = registerSPForwardByName(&amx, "plugin_pause", FP_DONE);
|
||||||
m_UnpauseFwd = registerSPForwardByName(&amx, "plugin_unpause");
|
m_UnpauseFwd = registerSPForwardByName(&amx, "plugin_unpause", FP_DONE);
|
||||||
|
|
||||||
if (amx.flags & AMX_FLAG_DEBUG)
|
if (amx.flags & AMX_FLAG_DEBUG)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user