Added Capsul Events

This commit is contained in:
Cooldude2606
2018-01-07 13:56:13 +00:00
parent cb85ebfd2b
commit 0ab553efbf
5 changed files with 61 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ Event.register(-1,function(event)
else self.data.chache[event.player_index] = {'decon',false} end
chache = self.data.chache[event.player_index]
end
if not event.entity.last_user then
if not event.entity.last_user or event.entity.name == 'entity-ghost' then
if chache[1] == 'tree-decon' then
table.insert(self.data.trees,event.entity)
self.data.clear = game.tick + 10