Put in function

To be safe and to prevent crashing when exec local variables in console
This commit is contained in:
ChocoTaco 2019-12-26 15:13:16 -05:00
parent 6cec1f60d2
commit d8274cf7a3

View file

@ -24,6 +24,11 @@
// "8 32" or "-1 -1" or "-1 16" will also work. Just dont forget the quotes.
// As the list goes down %min %max will stay the same unless you change them (a new %min = ? %max = ?) etc
// This is done so a crash cant occur using local variables
// Using exec( $Host::EvoCustomMapLimitsFile ); in console
function setmaps()
{
// _____ _______ ______
// / ____|__ __| ____|
// | | | | | |__
@ -558,4 +563,9 @@ $Host::MapPlayerLimitsFourSquareDM_DM = %min SPC %max;
//$Host::MapPlayerLimitsIsleofman_Siege = %min SPC %max;
//$Host::MapPlayerLimitsTrident_Siege = %min SPC %max;
//$Host::MapPlayerLimitsAlcatraz_Siege = %min SPC %max;
//$Host::MapPlayerLimitsAlcatraz_Siege = %min SPC %max;
}
// Run our function
setmaps();