Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed crash when placing a factory building in 0.15.13
  • Loading branch information
MagmaMcFry committed May 23, 2017
1 parent 93ce9b8 commit 37ad693
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion control.lua
Expand Up @@ -326,7 +326,7 @@ local function create_factory_position()
if #(game.surfaces) < 256 then
surface = game.create_surface(surface_name, {width = 2, height = 2})
surface.daytime = 0.5
surface.freeze_daytime(true)
surface.freeze_daytime = true
else
global.next_factory_surface = 1
surface_name = "Factory floor 1"
Expand Down
2 changes: 1 addition & 1 deletion info.json
Expand Up @@ -5,5 +5,5 @@
"author": "MagmaMcFry",
"description": "The official, improved rewrite of Factorissimo. Place down factory buildings, walk in, build your factories inside!",
"factorio_version": "0.15",
"dependencies": ["base >= 0.15.10"]
"dependencies": ["base >= 0.15.13"]
}

0 comments on commit 37ad693

Please sign in to comment.