Sebastiankay commited on
Commit
e0b6e59
·
verified ·
1 Parent(s): bde24c4

Update templates/map.html

Browse files
Files changed (1) hide show
  1. templates/map.html +1 -1
templates/map.html CHANGED
@@ -1023,7 +1023,7 @@
1023
  //function addMarker(x, y, z, timestamp, preview = false, actualmap = false, playername = false, markercolor = false) {
1024
  function addMarker(x, y, z, timestamp, preview, playername, actualmap, markercolor) {
1025
 
1026
- const playerMarkerName = playername.toLowerCase.replaceAll(" ", "-")
1027
 
1028
  // Validate position
1029
  const position = {
 
1023
  //function addMarker(x, y, z, timestamp, preview = false, actualmap = false, playername = false, markercolor = false) {
1024
  function addMarker(x, y, z, timestamp, preview, playername, actualmap, markercolor) {
1025
 
1026
+ const playerMarkerName = playername.replaceAll(" ", "-").toLowerCase()
1027
 
1028
  // Validate position
1029
  const position = {