mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 22:11:38 +00:00
Remove pairs() and ipairs() (#1150)
This commit is contained in:
parent
ea70d89291
commit
31ec216a95
13 changed files with 17 additions and 17 deletions
|
|
@ -15,7 +15,7 @@ local encodePatchUpdate = require(script.Parent.encodePatchUpdate)
|
|||
return function(instanceMap, propertyChanges)
|
||||
local patch = PatchSet.newEmpty()
|
||||
|
||||
for instance, properties in pairs(propertyChanges) do
|
||||
for instance, properties in propertyChanges do
|
||||
local instanceId = instanceMap.fromInstances[instance]
|
||||
|
||||
if instanceId == nil then
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ return function(instance, instanceId, properties)
|
|||
changedProperties = {},
|
||||
}
|
||||
|
||||
for propertyName in pairs(properties) do
|
||||
for propertyName in properties do
|
||||
if propertyName == "Name" then
|
||||
update.changedName = instance.Name
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue