Changeset 461


Ignore:
Timestamp:
Aug 14, 2023, 9:10:48 PM (15 months ago)
Author:
alloc
Message:

25_30_46

  • Fixed map marker icons not found
Location:
binary-improvements
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/MapRendering/ModInfo.xml

    r456 r461  
    55                <Description value="Render the game map to image map tiles as it is uncovered" />
    66                <Author value="Christian 'Alloc' Illy" />
    7                 <Version value="45" />
     7                <Version value="46" />
    88                <Website value="https://7dtd.illy.bz" />
    99        </ModInfo>
  • binary-improvements/bin/Mods/Allocs_WebAndMapRendering/ModInfo.xml

    r456 r461  
    55                <Description value="Render the game map to image map tiles as it is uncovered" />
    66                <Author value="Christian 'Alloc' Illy" />
    7                 <Version value="45" />
     7                <Version value="46" />
    88                <Website value="https://7dtd.illy.bz" />
    99        </ModInfo>
  • binary-improvements/webserver_legacy/js/map.js

    r366 r461  
    5454        // player icon
    5555        var playerIcon = L.icon({
    56             iconUrl: '/static/leaflet/images/marker-survivor.png',
    57             iconRetinaUrl: '/static/leaflet/images/marker-survivor-2x.png',
     56            iconUrl: '/legacymap/leaflet/images/marker-survivor.png',
     57            iconRetinaUrl: '/legacymap/leaflet/images/marker-survivor-2x.png',
    5858            iconSize: [25, 48],
    5959            iconAnchor: [12, 24],
     
    6363        // hostile icon
    6464        var hostileIcon = L.icon({
    65             iconUrl: '/static/leaflet/images/marker-zombie.png',
    66             iconRetinaUrl: '/static/leaflet/images/marker-zombie-2x.png',
     65            iconUrl: '/legacymap/leaflet/images/marker-zombie.png',
     66            iconRetinaUrl: '/legacymap/leaflet/images/marker-zombie-2x.png',
    6767            iconSize: [25, 33],
    6868            iconAnchor: [12, 16],
     
    7272        // animal icon
    7373        var animalIcon = L.icon({
    74             iconUrl: '/static/leaflet/images/marker-animal.png',
    75             iconRetinaUrl: '/static/leaflet/images/marker-animal-2x.png',
     74            iconUrl: '/legacymap/leaflet/images/marker-animal.png',
     75            iconRetinaUrl: '/legacymap/leaflet/images/marker-animal-2x.png',
    7676            iconSize: [25, 26],
    7777            iconAnchor: [12, 13],
Note: See TracChangeset for help on using the changeset viewer.