Fixes MF_PVP_NIGHTMAREDROP not clearing on reload (#5160)

* Fixes MF_PVP_NIGHTMAREDROP not being cleared during a script reload and resulting in the drop list reaching the max size.
This commit is contained in:
Aleos 2020-06-30 10:42:54 -04:00 committed by GitHub
parent d38d2b6b71
commit e2f1bca401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3649,6 +3649,7 @@ void map_flags_init(void){
mapdata->flag.clear();
mapdata->flag.reserve(MF_MAX); // Reserve the bucket size
mapdata->drop_list.clear();
args.flag_val = 100;
// additional mapflag data