remove client ID check for externally-generated item IDs

This commit is contained in:
Martin Michelsen
2023-11-04 09:19:07 -07:00
parent b06bfc13b4
commit 25c0aa21dc
3 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ struct Lobby : public std::enable_shared_from_this<Lobby> {
void add_item(const ItemData& item, uint8_t area, float x, float z);
ItemData remove_item(uint32_t item_id);
uint32_t generate_item_id(uint8_t client_id);
void on_item_id_generated_externally(uint8_t client_id, uint32_t item_id);
void on_item_id_generated_externally(uint32_t item_id);
static uint8_t game_event_for_lobby_event(uint8_t lobby_event);