Reduce code size for strict dependencies on mapchooser (#1528)

This commit is contained in:
Maxim Telezhenko
2021-07-22 14:37:43 +02:00
committed by GitHub
parent 7c3cb49dfa
commit b3672916de
+4
View File
@@ -135,6 +135,8 @@ forward void OnNominationRemoved(const char[] map, int owner);
*/
forward void OnMapVoteStarted();
/* DO NOT EDIT BELOW THIS LINE */
public SharedPlugin __pl_mapchooser =
{
name = "mapchooser",
@@ -146,6 +148,7 @@ public SharedPlugin __pl_mapchooser =
#endif
};
#if !defined REQUIRE_PLUGIN
public void __pl_mapchooser_SetNTVOptional()
{
MarkNativeAsOptional("NominateMap");
@@ -158,3 +161,4 @@ public void __pl_mapchooser_SetNTVOptional()
MarkNativeAsOptional("HasEndOfMapVoteFinished");
MarkNativeAsOptional("EndOfMapVoteEnabled");
}
#endif