Eluna fix linux script loading - Still require adding a config setting to set a path to allow you to use a fixed path with restarters and shortcuts

This commit is contained in:
Rochet2
2014-04-23 15:53:38 +03:00
committed by Foereaper
parent 7bd0288658
commit cdaf38b737
2 changed files with 10 additions and 6 deletions

View File

@@ -2032,7 +2032,7 @@ namespace LuaPlayer
{
std::string msg = sEluna->CHECKVAL<std::string>(L, 2);
if (msg.length() > 0)
player->GetSession()->SendAreaTriggerMessage(msg.c_str());
player->GetSession()->SendAreaTriggerMessage("%s", msg.c_str());
return 0;
}
@@ -2040,7 +2040,7 @@ namespace LuaPlayer
{
std::string msg = sEluna->CHECKVAL<std::string>(L, 2);
if (msg.length() > 0)
player->GetSession()->SendNotification(msg.c_str());
player->GetSession()->SendNotification("%s", msg.c_str());
return 0;
}