Ghostspawner Spawn Atom UI Fix (#10126)

Ghostroles with finite slots no longer display an infinity symbol, instead showing the number of remaining spawn objects.
This commit is contained in:
Geeves
2020-10-02 07:54:29 +02:00
committed by GitHub
parent 1f9bc76eb8
commit da83e25e76
3 changed files with 8 additions and 0 deletions

View File

@@ -127,6 +127,7 @@
VUEUI_SET_CHECK(data["spawners"][G.short_name]["can_edit"], G.can_edit(user), ., data)
VUEUI_SET_CHECK(data["spawners"][G.short_name]["enabled"], G.enabled, ., data)
VUEUI_SET_CHECK(data["spawners"][G.short_name]["count"], G.count, ., data)
VUEUI_SET_CHECK(data["spawners"][G.short_name]["spawnatoms"], length(G.spawn_atoms), ., data)
VUEUI_SET_CHECK(data["spawners"][G.short_name]["max_count"], G.max_count, ., data)
VUEUI_SET_CHECK_LIST(data["spawners"][G.short_name]["tags"], G.tags, ., data)
VUEUI_SET_CHECK_LIST(data["spawners"][G.short_name]["spawnpoints"], G.spawnpoints, ., data)