mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Removed all the unique talk defaults for Wil region (thx Jorge). Got most of man0l0 working with the new system. Fixed nullterm str parsing.
This commit is contained in:
@@ -85,10 +85,10 @@ namespace Meteor.Map
|
||||
}
|
||||
|
||||
// print out all commands
|
||||
foreach (var str in Directory.GetFiles("./scripts/commands/gm/"))
|
||||
foreach (var str in Directory.GetFiles(ConfigConstants.OPTIONS_SCRIPTPATH + "/commands/gm/"))
|
||||
{
|
||||
var c = str.Replace(".lua", "");
|
||||
c = c.Replace("./scripts/commands/gm/", "");
|
||||
c = c.Replace(ConfigConstants.OPTIONS_SCRIPTPATH + "/scripts/commands/gm/", "");
|
||||
|
||||
LuaEngine.RunGMCommand(player, c, null, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user