We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 759bbff commit 0dce661Copy full SHA for 0dce661
entities.go
@@ -27,12 +27,9 @@ func (p *Parser) handlePacketEntities(pe *msg.CSVCMsg_PacketEntities) {
27
28
if r.ReadBit() {
29
// Leave PVS
30
+ delete(p.entities, currentEntity)
31
- // FIXME: Might have to destroy the entities contents first, not sure yet
32
- // Could do weird stuff with event handlers otherwise
33
- p.entities[currentEntity] = nil
34
-
35
- // TODO: Force Delete if this is true??
+ // 'Force Delete' flag, not exactly sure what it's supposed to do
36
r.ReadBit()
37
} else {
38
0 commit comments