Skip to content

Commit

Permalink
Fix /zone_ambient not allowing tracks with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrezm committed Jul 23, 2022
1 parent ac9d154 commit 5a8ee5c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -776,3 +776,6 @@

### 220717b (4.3.3-post1)
* Fixed some information about the default area (e.g. ambient sound effects) not being sent for players joining a server

### 220723a (4.3.3-post2)
* Fixed /zone_ambient not allowing tracks with spaces
2 changes: 1 addition & 1 deletion server/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -11165,7 +11165,7 @@ def ooc_cmd_zone_ambient(client: ClientManager.Client, arg: str):
Sets the ambient sound effect of all areas of the current zone to `wind.wav`.
"""

Constants.assert_command(client, arg, is_staff=True, parameters='=1')
Constants.assert_command(client, arg, is_staff=True, parameters='>0')

if not client.zone_watched:
raise ZoneError('You are not watching a zone.')
Expand Down
4 changes: 2 additions & 2 deletions server/tsuserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ def __init__(self, protocol: AOProtocol = None,
self.release = 4
self.major_version = 3
self.minor_version = 3
self.segment_version = 'post1'
self.internal_version = '220717b'
self.segment_version = 'post2'
self.internal_version = '220723a'
version_string = self.get_version_string()
self.software = 'TsuserverDR {}'.format(version_string)
self.version = 'TsuserverDR {} ({})'.format(version_string, self.internal_version)
Expand Down

0 comments on commit 5a8ee5c

Please sign in to comment.