Fixed map-icons.
This commit is contained in:
parent
8d70839d3b
commit
a4564889df
2 changed files with 2 additions and 2 deletions
|
|
@ -106,7 +106,7 @@ web:
|
|||
# title: Surface # The name of the map that will be displayed.
|
||||
# name: surface # The actual name of the map (should be unique for this world).
|
||||
# prefix: t # The prefix of the tile-files that are generated.
|
||||
# icon: block_other.png # Sets a custom icon for the map. (optional)
|
||||
# icon: images/block_other.png # Sets a custom icon for the map. (optional)
|
||||
# - type: KzedMapType
|
||||
# title: Cave
|
||||
# name: cave
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ DynMap.prototype = {
|
|||
.append($('<a/>')
|
||||
.attr({ title: map.title, href: '#' })
|
||||
.addClass('maptype')
|
||||
.css({ backgroundImage: 'url(' + (map.icon || 'block_' + map.name + '.png') + ')' })
|
||||
.css({ backgroundImage: 'url(' + (map.icon || 'images/block_' + map.name + '.png') + ')' })
|
||||
.text(map.title)
|
||||
)
|
||||
.click(function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue