diff --git a/binaries/data/mods/public/gui/session/input.js b/binaries/data/mods/public/gui/session/input.js index 56855ae76a..4af2780780 100644 --- a/binaries/data/mods/public/gui/session/input.js +++ b/binaries/data/mods/public/gui/session/input.js @@ -1181,8 +1181,8 @@ function handleInputAfterGui(ev) if (placementSupport.mode === "wall") { // Including only the on-screen towers in the next snap candidate list is sufficient here, since the user is - // still selecting a starting point (which must necessarily be on-screen). (The update itself happens in the - // call to updateBuildingPlacementPreview below). + // still selecting a starting point (which must necessarily be on-screen). (The update of the snap entities + // itself happens in the call to updateBuildingPlacementPreview below). placementSupport.wallSnapEntitiesIncludeOffscreen = false; } else @@ -1393,7 +1393,7 @@ function startBuildingPlacement(buildTemplate) // to start building a structure, then the highlight selection rings are kept during the construction of the building. // Gives the impression that somehow the hovered-over entity has something to do with the building you're constructing. - placementSupport.SetDefaultAngle(); + placementSupport.Reset(); // find out if we're building a wall, and change the entity appropriately if so var templateData = GetTemplateData(buildTemplate); diff --git a/binaries/data/mods/public/maps/scenarios/WallTest.xml b/binaries/data/mods/public/maps/scenarios/WallTest.xml index 3dca9b9fa6..875794a22e 100644 --- a/binaries/data/mods/public/maps/scenarios/WallTest.xml +++ b/binaries/data/mods/public/maps/scenarios/WallTest.xml @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1535844a837a7b424f2df0bfade2a2dffe7e71e4e5d0a0c3271568b3b1249ecf -size 4848 +oid sha256:46bff88f89775032e8b1f4259b67a2b76cd3b0d9a575c68b6f05845ce79be642 +size 5196