From 011c9fa45c49912311d238c86589690689c0b4d5 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 5 Jun 2006 19:19:43 +0000 Subject: [PATCH] fixed "ghost module" problem --- amxmodx/libraries.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amxmodx/libraries.cpp b/amxmodx/libraries.cpp index 44263c2f..9040846d 100644 --- a/amxmodx/libraries.cpp +++ b/amxmodx/libraries.cpp @@ -207,7 +207,7 @@ LibError RunLibCommand(const LibDecoder *enc) return LibErr_NoLibrary; } else if (enc->cmd == LibCmd_ForceLib) { - if (!LoadModule(enc->param1, PT_ANYTIME)) + if (!LoadModule(enc->param1, PT_ANYTIME, true, true)) { return LibErr_NoLibrary; } @@ -231,7 +231,7 @@ LibError RunLibCommand(const LibDecoder *enc) return LibErr_None; } - if (!LoadModule(enc->param2, PT_ANYTIME)) + if (!LoadModule(enc->param2, PT_ANYTIME, true, true)) { return LibErr_NoLibrary; }