--- a/QTfrontend/net/newnetclient.cpp Wed Jan 01 23:28:24 2014 +0400
+++ b/QTfrontend/net/newnetclient.cpp Wed Jan 01 23:41:49 2014 +0400
@@ -545,7 +545,7 @@
m_roomsListModel->updateRoom(roomName, tmp);
// keep track of room name so correct name is displayed
- if(myroom == roomName)
+ if(myroom == roomName && myroom != tmp[1])
{
myroom = tmp[1];
emit roomNameUpdated(myroom);
--- a/share/hedgewars/Data/Scripts/Multiplayer/Gravity.lua Wed Jan 01 23:28:24 2014 +0400
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Gravity.lua Wed Jan 01 23:41:49 2014 +0400
@@ -1,4 +1,5 @@
HedgewarsScriptLoad("/Scripts/Locale.lua")
+HedgewarsScriptLoad("/Scripts/Params.lua")
local gravity = 100
local wdGameTicks = 0
@@ -21,6 +22,7 @@
end
function onGameInit()
+ parseParams()
gravity = ScriptParam
end