mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 14:04:41 +02: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:
parent
6e869af4fb
commit
26fd79bea5
133 changed files with 481 additions and 2247 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue