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