Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zzh8829 committed Aug 6, 2024
1 parent a859ec1 commit 2b5cbc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion maps/mountain_fortress_v3/ic/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ function Public.validate_owner(player, entity)
end

function Public.create_room_surface(ce, unit_number)
surface_name = unit_number_to_surface_name(ce.name, unit_number)
local surface_name = unit_number_to_surface_name(ce.name, unit_number)
if game.surfaces[surface_name] then
return game.surfaces[surface_name].index
end
Expand Down
2 changes: 1 addition & 1 deletion maps/mountain_fortress_v3/icw/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ function Public.kill_wagon(icw, entity)
end

function Public.create_room_surface(icw, unit_number)
surface_name = unit_number_to_surface_name(unit_number)
local surface_name = unit_number_to_surface_name(unit_number)
if game.surfaces[surface_name] then
return game.surfaces[surface_name]
end
Expand Down

0 comments on commit 2b5cbc9

Please sign in to comment.