Skip to content

Commit

Permalink
Fix web client tileset path
Browse files Browse the repository at this point in the history
#669 places tiled maps & tilesets
in data directory so `data-tileset-path` attribute is no longer needed for
test server
  • Loading branch information
AntumDeluge committed Mar 18, 2024
1 parent 194713f commit 4ca4709
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion srcjs/stendhal.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html data-data-path="/data" data-tileset-path="/data/maps/tileset" data-ws="/ws/">
<html data-data-path="/data" data-ws="/ws/">
<!--
/***************************************************************************
* (C) Copyright 2014-2024 - Stendhal *
Expand Down
4 changes: 2 additions & 2 deletions srcjs/stendhal/data/Paths.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***************************************************************************
* Copyright © 2003-2023 - Stendhal *
* Copyright © 2003-2024 - Stendhal *
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
Expand All @@ -22,7 +22,7 @@ export class Paths {
public static readonly sprites = Paths.data + "/sprites";
public static readonly weather = Paths.sprites + "/weather";
public static readonly achievements = Paths.sprites + "/achievements";
public static readonly tileset = Paths.extractPath("data-tileset-path");
public static readonly tileset = Paths.data + "/maps/tileset";
public static readonly ws = Paths.extractPath("data-ws");

/**
Expand Down

0 comments on commit 4ca4709

Please sign in to comment.