Workshop fixes / Message block extension

This commit is contained in:
Anuken
2019-09-25 15:40:31 -04:00
parent 29bf181a08
commit 2658c1f52e
6 changed files with 23 additions and 5 deletions
+3 -1
View File
@@ -106,7 +106,9 @@ public class Maps{
//workshop
for(FileHandle file : platform.getExternalMaps()){
try{
loadMap(file, false).workshop = true;
Map map = loadMap(file, false);
map.workshop = true;
map.tags.put("steamid", file.parent().name());
}catch(Exception e){
Log.err("Failed to load workshop map file '{0}'!", file);
Log.err(e);