TheStarport / FLHook

A Server Improvement for Freelancer.
GNU General Public License v3.0
30 stars 15 forks source link

Light Control not working #154

Closed Aingar closed 1 year ago

Aingar commented 1 year ago

Not only does it not work, it contains several 'arcane' expressions, such as this being used in place of rendering the available light list (and succeeding only in clearing the chat window) for (const auto& light : global->config->lights) { auto& me = jpWide::MatchEvaluator(RegexReplace).setRegexObject(&global->regex).setSubject(light).setFindAll(); PrintUserCmdText(client, me.nreplace()); }

Lazrius commented 1 year ago

Fixed as part of 713ee4c37a5cf4396d2ecf1be3b7654aff2491d7