Raised This Month: $51 Target: $400
 12% 

[mapchooser.sma] mapcycle file problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 10-09-2004 , 18:51   [mapchooser.sma] mapcycle file problem
#1

Ok, I've noticed that the mapchooser plugin doesn't get the mapcycle from the mapcyclefile CVAR if the maps.ini file doesn't exist. Instead it just assumes that the map cycle file is "mapcycle.txt" which I don't think it should.

Lines 72-73
Code:
  if (!file_exists(maps_ini_file))     format(maps_ini_file, 63, "mapcycle.txt")

Should be something more like:
Code:
if (!file_exists(maps_ini_file))   get_cvar_string("mapcyclefile", maps_ini_file, 63)
DS is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode