Skip to content

Commit

Permalink
Fix attempt to call global 'gameprint' (a nil value)
Browse files Browse the repository at this point in the history
  • Loading branch information
Quezler committed Jan 8, 2024
1 parent a9f003f commit ae9b4cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ end)
script.on_event(defines.events.on_player_pipette, function(event)
local player = game.get_player(event.player_index)

if player.selected == nil then return gameprint('pipetted player selected = nil, how?') end
if player.selected == nil then return game.print('pipetted player selected = nil, how?') end
if player.selected.name ~= "pipe-connection" then return end

local unit_number = script.register_on_entity_destroyed(player.selected)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pipette-fluid-port-w-assembler-for-auto-barreling",
"title": "Pipette fluid port w assembler for auto barreling",
"description": "If you hover a machine that uses fluids with an assembling machine and pipette a fluid port, you get a ghost to (un)barrel that.",
"version": "1.0.5",
"version": "1.0.6",
"author": "Quezler",
"factorio_version": "1.1",
"dependencies": [
Expand Down

0 comments on commit ae9b4cc

Please sign in to comment.