Skip to content

Commit

Permalink
Merge pull request #54 from out-of-phaze/lighthouse-fix/gear-painter-ui
Browse files Browse the repository at this point in the history
Fix gear painter using the wrong UI key
  • Loading branch information
out-of-phaze authored May 1, 2024
2 parents 7cd6fcc + 1f34e67 commit caf15d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/gear_painter.dm
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
data["painting_color"] = painting_color
ui = SSnano.try_update_ui(user, src, ui_key, ui, data, force_open)
if(!ui)
ui = new(user, src, name, "gear_painter.tmpl", name)
ui = new(user, src, ui_key, "gear_painter.tmpl", name)
ui.set_initial_data(data)
ui.open()

Expand Down

0 comments on commit caf15d0

Please sign in to comment.