From 2b7e9728b6269402c65521bd8deef57663edbde6 Mon Sep 17 00:00:00 2001 From: leper Date: Sun, 24 Aug 2014 12:02:52 +0000 Subject: [PATCH] Fix failure in TestNetComms::test_basic_DISABLED. Patch by Echelon9. Fixes #2426. This was SVN commit r15672. --- source/network/tests/test_Net.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/network/tests/test_Net.h b/source/network/tests/test_Net.h index 8c258cfa66..f12187d265 100644 --- a/source/network/tests/test_Net.h +++ b/source/network/tests/test_Net.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2012 Wildfire Games. +/* Copyright (C) 2014 Wildfire Games. * This file is part of 0 A.D. * * 0 A.D. is free software: you can redistribute it and/or modify @@ -149,7 +149,7 @@ public: CNetServer server; JS::RootedValue attrs(cx); - scriptInterface.Eval("({mapType:'scenario',map:'_default',thing:'example'})", &attrs); + scriptInterface.Eval("({mapType:'scenario',map:'maps/scenarios/Saharan Oases',mapPath:'maps/scenarios/',thing:'example'})", &attrs); server.UpdateGameAttributes(&attrs, scriptInterface); CNetClient client1(&client1Game); @@ -214,7 +214,7 @@ public: CNetServer server; JS::RootedValue attrs(cx); - scriptInterface.Eval("({mapType:'scenario',map:'_default',thing:'example'})", &attrs); + scriptInterface.Eval("({mapType:'scenario',map:'maps/scenarios/Saharan Oases',mapPath:'maps/scenarios/',thing:'example'})", &attrs); server.UpdateGameAttributes(&attrs, scriptInterface); CNetClient client1(&client1Game);