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 committed 2020-12-30 18:47:07 -05:00
1 parent d92c0e330d
commit a1b5b210dd
4 files changed
+19 -11

No files matched your search

-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) {