mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Fixed a bug noted by mahnsawce
This commit is contained in:
parent
58f13e887c
commit
f12680f179
@ -619,6 +619,8 @@ AMX *MNF_GetAmxScript(int id)
|
||||
while (iter && id--)
|
||||
++iter;
|
||||
|
||||
if ((*iter) == NULL)
|
||||
return NULL;
|
||||
return (*iter).getAMX();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user