mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-25 07:06:12 +00:00
Fixed nil -> nil props showing up as failing in patch visualizer (plugin) (#1081)
This commit is contained in:
committed by
GitHub
parent
e092a7301f
commit
7f68d9887b
@@ -1,10 +1,12 @@
|
|||||||
# Rojo Changelog
|
# Rojo Changelog
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
* Fixed nil -> nil properties showing up as failing to sync in plugin's patch visualizer ([#1081])
|
||||||
* Changed the background of the server's in-browser UI to be gray instead of white ([#1080])
|
* Changed the background of the server's in-browser UI to be gray instead of white ([#1080])
|
||||||
* Fixed `Auto Connect Playtest Server` no longer functioning due to Roblox change ([#1066])
|
* Fixed `Auto Connect Playtest Server` no longer functioning due to Roblox change ([#1066])
|
||||||
* Added an update indicator to the version header when a new version of the plugin is available. ([#1069])
|
* Added an update indicator to the version header when a new version of the plugin is available. ([#1069])
|
||||||
|
|
||||||
|
[#1081]: https://github.com/rojo-rbx/rojo/pull/1081
|
||||||
[#1080]: https://github.com/rojo-rbx/rojo/pull/1080
|
[#1080]: https://github.com/rojo-rbx/rojo/pull/1080
|
||||||
[#1049]: https://github.com/rojo-rbx/rojo/pull/1066
|
[#1049]: https://github.com/rojo-rbx/rojo/pull/1066
|
||||||
[#1069]: https://github.com/rojo-rbx/rojo/pull/1069
|
[#1069]: https://github.com/rojo-rbx/rojo/pull/1069
|
||||||
|
|||||||
@@ -25,6 +25,14 @@ local function trueEquals(a, b): boolean
|
|||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Treat nil and { Ref = "000...0" } as equal
|
||||||
|
if
|
||||||
|
(a == nil and type(b) == "table" and b.Ref == "00000000000000000000000000000000")
|
||||||
|
or (b == nil and type(a) == "table" and a.Ref == "00000000000000000000000000000000")
|
||||||
|
then
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
|
||||||
local typeA, typeB = typeof(a), typeof(b)
|
local typeA, typeB = typeof(a), typeof(b)
|
||||||
|
|
||||||
-- For tables, try recursive deep equality
|
-- For tables, try recursive deep equality
|
||||||
|
|||||||
Reference in New Issue
Block a user