Skip to content

Commit 224baba

Browse files
committed
I shouldn't dev at this hour.
1 parent ad22772 commit 224baba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/landfill.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function Landfill.compute_prototype_overrides()
4040
local surface = game.surfaces["_BPEX_Temp_Surface"]
4141
if surface then
4242
log("Old temporary surface existed for some reason, destroying it.")
43-
game.destroy_surface(surface)
43+
game.delete_surface(surface)
4444
end
4545

4646
-- Temporary surface.

0 commit comments

Comments
 (0)