Fixed requiring dependencies at the wrong time.
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402366
This commit is contained in:
parent
86c8ec847a
commit
6a834ffef7
@ -154,13 +154,15 @@ public OnPluginStart()
|
|||||||
SetConVarBounds(g_Cvar_Bonusroundtime, ConVarBound_Upper, true, 30.0);
|
SetConVarBounds(g_Cvar_Bonusroundtime, ConVarBound_Upper, true, 30.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
RegPluginLibrary("mapchooser");
|
|
||||||
|
|
||||||
g_NominationsResetForward = CreateGlobalForward("OnNominationRemoved", ET_Ignore, Param_String, Param_Cell);
|
g_NominationsResetForward = CreateGlobalForward("OnNominationRemoved", ET_Ignore, Param_String, Param_Cell);
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool:AskPluginLoad(Handle:myself, bool:late, String:error[], err_max)
|
public bool:AskPluginLoad(Handle:myself, bool:late, String:error[], err_max)
|
||||||
{
|
{
|
||||||
|
RegPluginLibrary("mapchooser");
|
||||||
|
|
||||||
CreateNative("NominateMap", Native_NominateMap);
|
CreateNative("NominateMap", Native_NominateMap);
|
||||||
CreateNative("InitiateMapChooserVote", Native_InitiateVote);
|
CreateNative("InitiateMapChooserVote", Native_InitiateVote);
|
||||||
CreateNative("CanMapChooserStartVote", Native_CanVoteStart);
|
CreateNative("CanMapChooserStartVote", Native_CanVoteStart);
|
||||||
|
Loading…
Reference in New Issue
Block a user