Skip to content

Commit 3efd878

Browse files
author
ellomenop
committed
Fix for sorting mixed content tables in Object Browser
Updated changelog and version to 1.0.3
1 parent 4ac4e4a commit 3efd878

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.0.3] - 2024-05-23
11+
12+
### Changed
13+
14+
- Fixed typo that prevented modifying objects via the Object Browser
15+
- Fixed crash while sorting mixed content tables in Object Browser
16+
1017
## [1.0.2] - 2024-05-23
1118

1219
### Changed

src/browser.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ do
314314
for k in iter(data) do
315315
table.insert(order,k)
316316
end
317-
table.sort(order)
317+
table.sort(order, function(a,b) return tostring(a) < tostring(b) end)
318318
for _,k in ipairs(order) do
319319
local v = data[k]
320320
for _,sd in public.vararg(entrify(k,v,ed)) do

thunderstore.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ schemaVersion = "0.0.1"
44
[package]
55
namespace = "SGG_Modding"
66
name = "SeerSuite"
7-
versionNumber = "1.0.2"
7+
versionNumber = "1.0.3"
88
description = "Defines debug tools such as an Object Browser and Script Console."
99
websiteUrl = "https://github.com/SGG-Modding/SeerSuite"
1010
containsNsfwContent = false

0 commit comments

Comments
 (0)