mirror of
https://github.com/unixtensor/Roblox-Elevator-Game.git
synced 2025-12-14 14:51:55 +00:00
work on closing doors
This commit is contained in:
0
src/shared/Server/holder.lua
Normal file
0
src/shared/Server/holder.lua
Normal file
@@ -6,7 +6,8 @@ local AllTags = CS:GetAllTags()
|
||||
for i = 1, #AllTags do
|
||||
local TagName = AllTags[i]
|
||||
if TagName ~= "RopeMasterObject" then
|
||||
exports[TagName] = CS:GetTagged(TagName)[1]
|
||||
local Tagged = CS:GetTagged(TagName)
|
||||
exports[TagName] = #Tagged>1 and Tagged or Tagged[1]
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user