Fixed requiring dependencies at the wrong time.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402366
This commit is contained in:
Matt Woodrow 2008-07-06 03:30:06 +00:00
parent 86c8ec847a
commit 6a834ffef7

View File

@ -154,13 +154,15 @@ public OnPluginStart()
SetConVarBounds(g_Cvar_Bonusroundtime, ConVarBound_Upper, true, 30.0);
}
RegPluginLibrary("mapchooser");
g_NominationsResetForward = CreateGlobalForward("OnNominationRemoved", ET_Ignore, Param_String, Param_Cell);
}
public bool:AskPluginLoad(Handle:myself, bool:late, String:error[], err_max)
{
RegPluginLibrary("mapchooser");
CreateNative("NominateMap", Native_NominateMap);
CreateNative("InitiateMapChooserVote", Native_InitiateVote);
CreateNative("CanMapChooserStartVote", Native_CanVoteStart);