增加移除物品

This commit is contained in:
Huoji's
2023-10-05 03:24:31 +08:00
parent dd0456b064
commit c1ed6d1ad9
12 changed files with 194 additions and 38 deletions

View File

@@ -61,7 +61,7 @@ auto GetPlayerByPlayerSlot(uint64_t playerSlot) -> CCSPlayerController* {
if (PlayerSteamId == -1) {
return nullptr;
}
CGameEntitySystem* pEntitySystem = CGameEntitySystem::GetInstance();
CGameEntitySystem* pEntitySystem = global::EntitySystem;
if (!pEntitySystem) {
return nullptr;
}