Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
Co-authored-by: SX <[email protected]>
  • Loading branch information
SwissalpS and S-S-X authored Dec 17, 2021
1 parent 70e252a commit e6f0c89
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -551,9 +551,7 @@ function travelnet.edit_elevator(pos, fields, meta, player_name)
return
end

local network
local timestamp = os.time()
network = travelnet.get_network(owner_name, station_network)
local network = travelnet.get_network(owner_name, station_network)
-- does a station with the new name already exist?
if network[fields.station_name] then
minetest.chat_send_player(player_name,
Expand Down

0 comments on commit e6f0c89

Please sign in to comment.