Skip to content

Commit

Permalink
fix minor bugs / update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
eisfeuer committed May 22, 2020
1 parent ad07a8f commit b8e3b23
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion mod/res/construction/station/rail/motras.con
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ end

local function placeRoof(platformBlueprint, platformLength, platformWidth)
local halfLength = math.floor(platformLength / 2)
print(platformBlueprint:getHorizontalSize())

if platformBlueprint:getGridX() == 0 and platformLength % 2 == 1 then
if platformLength > 4 then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ return {
},
static = false,
visibleFrom = 0,
visibleTo = 34.957305908203,
visibleTo = 134.957305908203,
},
},
metadata = {
Expand Down
2 changes: 0 additions & 2 deletions mod/res/scripts/motras_asset_decoration_slot_cache.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ function AssetDecorationSlotCache:addAssetDecorationSlotToCache(assetDecorationS
local decorationSlotsForGivenAsset = getOrNew(getOrNew(getOrNew(getOrNew(self.assetDecorationSlots, assetDecorationSlot.gridX), assetDecorationSlot.gridY), assetDecorationSlot.assetId), assetDecorationSlot.type)

if decorationSlotsForGivenAsset[assetDecorationSlot.assetDecorationId] then
print(require('inspect')(self.assetDecorationSlots))
print(require('inspect')(assetDecorationSlot:debug()))
error('decoration slot is occupied')
end

Expand Down
2 changes: 1 addition & 1 deletion mod/strings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function data()
["motras_menu_name"] = "Verbesserter moderner Bahnhof",
["motras_menu_desc"] = "Verbesserter moderner Vanilla-Bahnhof mit anpassbarer Bahnsteighöhe und Deko-Modulen.",
["MOTRAS Base Kit"] = "MOTRAS Basisset",
["motras_mod_desc"] = "Diese Paket beinhaltet die Kernlogik von MOTRAS, sowie den verbesserten modernen Vanilla-Bahnhof."
["motras_mod_desc"] = "Dieses Paket beinhaltet die Kernlogik von MOTRAS, sowie den verbesserten modernen Vanilla-Bahnhof."
},
}
end
Expand Down
1 change: 1 addition & 0 deletions rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ end
task :remove_tests do
puts 'removing test files'
sh "rm #{staging_area_path}/res/scripts/*_spec.lua"
sh "rm #{staging_area_path}/res/scripts/motras_testutils.lua"
end

task :remove_debug do
Expand Down

0 comments on commit b8e3b23

Please sign in to comment.