Skip to content

Commit

Permalink
Fix util.positiontostr crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Quezler authored Nov 9, 2023
1 parent 86bad82 commit 069d39e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mods/glutenfree-se-tinted-pyramids/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Space Exploration - tinted pyramids",
"description": "Tints unlooted pyramids in the color of the module.",
"category": "cheats",
"version": "1.0.13",
"version": "1.0.14",
"author": "Quezler",
"factorio_version": "1.1",
"dependencies": [
Expand Down
4 changes: 2 additions & 2 deletions mods/glutenfree-se-tinted-pyramids/scripts/handler.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local util = require('__space-exploration-scripts__.util')
local Util = require('__space-exploration-scripts__.util')
local Ancient = require('__space-exploration-scripts__.ancient')
local Zonelist = require('__space-exploration-scripts__.zonelist')

Expand Down Expand Up @@ -171,7 +171,7 @@ function Handler.on_post_gui_opened(event)
local root = Zonelist.get(player)
if not root then return end

local scroll_pane = util.get_gui_element(root, Zonelist.path_list_rows_scroll_pane)
local scroll_pane = Util.get_gui_element(root, Zonelist.path_list_rows_scroll_pane)
if not scroll_pane then return end

for _, row in pairs(scroll_pane.children) do
Expand Down

0 comments on commit 069d39e

Please sign in to comment.