Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f423b02

Browse files
Merge pull request #36 from Hornochs/main
Changing Variablename to have same map variablename
2 parents 3034a73 + 217b47a commit f423b02

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ from opengsq.protocols import (
3333
Quake2,
3434
Quake3,
3535
RakNet,
36+
RenegadeX,
3637
Samp,
3738
Satisfactory,
3839
Scum,
3940
Source,
4041
TeamSpeak3,
42+
Toxikk,
4143
UDK,
4244
Unreal2,
4345
UT3,

docs/tests/protocols/test_renegadex/test_renegadex_status.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Here are the results for the test method.
77
88
{
99
"name": "Ich bin ein ziemlich langer Server der nicht weis wie lang das geht",
10-
"current_map": "CNC-Field",
10+
"map": "CNC-Field",
1111
"port": 7777,
1212
"players": 0,
1313
"game_version": "Open Beta 5.85.815",

opengsq/responses/renegadex/status.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def from_dict(cls, data: dict[str, Any]) -> 'Variables':
3232
@dataclass
3333
class Status:
3434
name: str
35-
current_map: str
35+
map: str
3636
port: int
3737
players: int
3838
game_version: str
@@ -43,7 +43,7 @@ class Status:
4343
def from_dict(cls, data: dict[str, Any]) -> 'Status':
4444
return cls(
4545
name=data["Name"],
46-
current_map=data["Current Map"],
46+
map=data["Current Map"],
4747
port=data["Port"],
4848
players=data["Players"],
4949
game_version=data["Game Version"],

0 commit comments

Comments
 (0)