Fixed invisable bug once and for all, closes #13

This commit is contained in:
ElPumpo
2019-09-08 13:22:09 +02:00
parent 0cafd722a9
commit cf39f7c7d7
2 changed files with 17 additions and 7 deletions
+6
View File
@@ -12,6 +12,12 @@ function GetInstancedPlayers()
return players
end
AddEventHandler('playerDropped', function(reason)
if instances[source] then
CloseInstance(source)
end
end)
function CreateInstance(type, player, data)
instances[player] = {
type = type,