浏览代码

file was not reflected correctly, did not release, but writelock

Emagi 4 月之前
父节点
当前提交
97a576609d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      EQ2/source/WorldServer/Items/Items.cpp

+ 1 - 1
EQ2/source/WorldServer/Items/Items.cpp

@@ -4075,7 +4075,7 @@ void PlayerItemList::ResetPackets() {
 	orig_packet = 0;
 	xor_packet = 0;
 	packet_count = 0;
-	MPlayerItems.writelock(__FUNCTION__, __LINE__);
+	MPlayerItems.releasewritelock(__FUNCTION__, __LINE__);
 }