mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +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--)
|
while (iter && id--)
|
||||||
++iter;
|
++iter;
|
||||||
|
|
||||||
|
if ((*iter) == NULL)
|
||||||
|
return NULL;
|
||||||
return (*iter).getAMX();
|
return (*iter).getAMX();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user