From 7ecc415f5fcc57bbcd2564aa1e63ba8081333024 Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 6 Nov 2023 16:40:54 +0700 Subject: [PATCH] fixed workshop map --- AutoChangeMap/AutoChangeMap.dll | Bin 9216 -> 9216 bytes AutoChangeMap/AutoChangeMap.pdb | Bin 12264 -> 12144 bytes Source/AutoChangeMap.cs | 7 ++----- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/AutoChangeMap/AutoChangeMap.dll b/AutoChangeMap/AutoChangeMap.dll index 8293961be7602d631ebb0b3cf710792c069f1209..dd04b9882ef9191986e5a6e54380b8367f5ec893 100644 GIT binary patch delta 2328 zcmZWr3vgA%8UFq~=j^$;Fv-oEKuB_vl3WP#OrnVvjY$h=P$KFOQ4@O2*!UnCZmm+t zO^6Ao)FGVOVH6cip@53mTYOChMQ5C-wKH{;8E3351Gb`|Xgecq>EqkYH7(OKv)}&T z_wVk%`|s{Kr*BE$lC7KFJ+D{nAKp@|UTGNKe|_c;8-T09=Q5z#8II;o?f@o}C+dM~ zgQ%Jvv`LkEZECPldW&|jwRx7XD0q1PJHXC7K!V2Tg{kFgw$oBfmj`6S>7ECKdwwan z%ZZiHj7=kitD$GzgOb>M5=@INFqIQqXsTF^!CB=hR%;CepL%ujTu`d><<+28uammq zpw63HH||C5JcXif!}T(#oA)m#tY=TMc6VjESy1TDSXAZ%6}`X~*7HKNS0sA6*4(<5 z-7%U4d?eJaTY>G_K!jSw;_H?+v))U7Rt4+)%H##4?1>B(v&u;Ka8xG5uH4!j z4W@8Xwl;oXy=yc;quqH|YrJhSp|T2ycS=h5xbbt7rhgr@pJE89Y(VnWt*wqZuWhQy~616 zPe>fuHas{LjYlnhYDZq_25uZF&OaH)VOAPvC~2d|&F&iKSA2LL`^T@-j2Wp(%q*lAvvZwX$)~1iPMW z;{-FlZ4=C_?Q2!F6F zVOc+JV8Rvp%Ex_~?v0`_W?4T<+*`y&q{8_6G1KiLyEn~hyl(NZ)3PD7yAfvX@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V(j@{F1Ui6$Ycelm zs_rk4exM>LZAJzIAdUy(G$76e;u0XP2D%dh7#W%-FK1j^4>CuPff;Bx$Y=%zSs)fh z;>QE|B1n8?AYT-S*`Vq{juk`VgM1~9#0SYsAn`%+l0fsI`i&U)fdVoJ0iYxV2!kn* zaz?0C5C;lRR%f;}VPp8N)xgBY5TV_`%*HSq4-clEF}rlUSKrYn`41$OL6~ aMh0OfUSKRUGw?HUa05*$WM*n)VgLXRI90Cz delta 747 zcmYjPO=uHQ5T5sTH{IBVHpHz}S~n02C0m0B0}Zu`zeO8FNQ>a1YYefjtV!)I(iX8B z!HXh9mxA;X=&gr((4z%=6ub!bAc60Y3-C0Z=*&^buvL0Ou&61L%b`peOQq6LZ$}XJ5=D z?=qMGXoz~lgsA2X^uZ_OEkQHDD)10^3_J%m+VM`#W|aFjY>Dl)DTql_(%bzJjew`R zxDCF)i)X<3{CJeljShBk?(0Ao=lD<;=lDU?i}ue_KZN1`0)jl6e+h_n)_B`+DS?K0 zb-p|yLEM(4NtS6m{38q3G)h<`W29OEzMd5*F?z#SKU+F-;^c&FyY))h^^Q@cUc2cm zMCMA_zeRV-i(cDVbjvH%rSmo4@tvy2deQOx@V2s>9**sOY<>RK+}?WfDckqzrD13r zGpVT`_qQs==KJ3lUSCq(Y<`5_Ek%h@d4+ zWQ%*@hn#(x=cWe1p~#vY+ek-tl&uytazhxX$V>}L$pro^h5Du5i{f_`*}%PtOb@g9 E3$G< "Auto Map Changer"; - public override string ModuleVersion => "1.0.4"; + public override string ModuleVersion => "1.0.5"; public override string ModuleAuthor => "skaen"; private static Config _config = null!; @@ -109,10 +109,7 @@ private Config CreateConfig(string configPath) } private bool IsWorkshopMap(string selectMap) { - var mapsPath = Path.Combine(ModuleDirectory, "maps.txt"); - var mapList = File.ReadAllLines(mapsPath); - - return mapList.Any(map => map.Trim() == "ws:" + selectMap); + return selectMap.Trim() == "ws:" + selectMap; } public void Log(string message) {