TechRacer: Print selected map in debug output
authorWuzzy <Wuzzy2@mail.ru>
Thu, 26 Jul 2018 19:08:39 +0200
changeset 13562 0ff20bb15037
parent 13561 cba63f72e52f
child 13564 d8da70fdec16
TechRacer: Print selected map in debug output
share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua
share/hedgewars/Data/Scripts/TechMaps.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua	Thu Jul 26 18:39:06 2018 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua	Thu Jul 26 19:08:39 2018 +0200
@@ -664,6 +664,7 @@
 	if mapID == nil then
 		mapID = 2 + GetRandom(7)
 	end
+	WriteLnToConsole("TechRacer: Using map "..tostring(mapID))
 
 	addHashData(mapID)
 
--- a/share/hedgewars/Data/Scripts/TechMaps.lua	Thu Jul 26 18:39:06 2018 +0200
+++ b/share/hedgewars/Data/Scripts/TechMaps.lua	Thu Jul 26 19:08:39 2018 +0200
@@ -102,6 +102,7 @@
 	if mapID == nil then
 		mapID = 2 + GetRandom(7)
 	end
+	WriteLnToConsole("TechRacer preview: Using map "..tostring(mapID))
 
     TemplateFilter = 0