mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 23:08:03 +03:00
fixed "ghost module" problem
This commit is contained in:
parent
2c7ca33bf1
commit
011c9fa45c
@ -207,7 +207,7 @@ LibError RunLibCommand(const LibDecoder *enc)
|
|||||||
|
|
||||||
return LibErr_NoLibrary;
|
return LibErr_NoLibrary;
|
||||||
} else if (enc->cmd == LibCmd_ForceLib) {
|
} else if (enc->cmd == LibCmd_ForceLib) {
|
||||||
if (!LoadModule(enc->param1, PT_ANYTIME))
|
if (!LoadModule(enc->param1, PT_ANYTIME, true, true))
|
||||||
{
|
{
|
||||||
return LibErr_NoLibrary;
|
return LibErr_NoLibrary;
|
||||||
}
|
}
|
||||||
@ -231,7 +231,7 @@ LibError RunLibCommand(const LibDecoder *enc)
|
|||||||
return LibErr_None;
|
return LibErr_None;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!LoadModule(enc->param2, PT_ANYTIME))
|
if (!LoadModule(enc->param2, PT_ANYTIME, true, true))
|
||||||
{
|
{
|
||||||
return LibErr_NoLibrary;
|
return LibErr_NoLibrary;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user