Send client lockout update in lockout methods

Add optional client update argument to client lockout methods

This is better than requiring callers to manually send the update
This commit is contained in:
hg
2020-05-16 08:41:17 -04:00
parent d92c0e330d
commit a1b5b210dd
4 changed files with 19 additions and 11 deletions
-1
View File
@@ -1724,7 +1724,6 @@ void Lua_Client::RemoveAllExpeditionLockouts(std::string expedition_name) {
void Lua_Client::RemoveExpeditionLockout(std::string expedition_name, std::string event_name) {
Lua_Safe_Call_Void();
self->RemoveExpeditionLockout(expedition_name, event_name, true);
self->SendExpeditionLockoutTimers();
}
bool Lua_Client::HasExpeditionLockout(std::string expedition_name, std::string event_name) {