chore(repl): fast access

This commit is contained in:
Khietsly Tristan 2026-02-25 10:49:06 +07:00
parent b26d06fa3d
commit 704942c979

View file

@ -61,13 +61,8 @@ if RunService:IsClient() or RunService:IsRunMode() then
coroutine.yield()
end
Replication.get_id = function(name: string): number
return warp_identifier_registry.cache[name]
end
Replication.get_name = function(id: number): string
return warp_identifier_registry.name[id]
end
Replication.get_id = warp_identifier_registry.cache
Replication.get_name = warp_identifier_registry.name
else
local replication_ready: { Player }, pending_replications = {}, {}
local writer: Buffer.Writer = Buffer.createWriter()