Resolved Guild Storage Expansion not updating (#3321)
* Fixes #3317. * Resolves the Guild Storage Expansion skill not refreshing the map server cached data. * Updated some inter server checks to grab the proper max size of guild storages. Thanks to @admkakaroto and @Lemongrass3110!
This commit is contained in:
@@ -603,7 +603,11 @@ char storage_guild_storageopen(struct map_session_data* sd)
|
||||
return GSTORAGE_ALREADY_OPEN;
|
||||
}
|
||||
|
||||
if((gstor = guild2storage2(sd->status.guild_id)) == NULL) {
|
||||
if((gstor = guild2storage2(sd->status.guild_id)) == nullptr
|
||||
#ifdef OFFICIAL_GUILD_STORAGE
|
||||
|| (gstor->max_amount != guild_checkskill(sd->guild, GD_GUILD_STORAGE) * 100)
|
||||
#endif
|
||||
) {
|
||||
intif_request_guild_storage(sd->status.account_id,sd->status.guild_id);
|
||||
return GSTORAGE_OPEN;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user