mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
fixing broken tests
This commit is contained in:
parent
fa5c7301fc
commit
92356e869e
2 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ class Naws:
|
|||
self.protocol().protocol_flags["SCREENWIDTH"] = {
|
||||
0: DEFAULT_WIDTH
|
||||
} # windowID (0 is root):width
|
||||
self.protocol.protocol_flags["SCREENHEIGHT"] = {0: DEFAULT_HEIGHT} # windowID:width
|
||||
self.protocol().protocol_flags["SCREENHEIGHT"] = {0: DEFAULT_HEIGHT} # windowID:width
|
||||
self.protocol().negotiationMap[NAWS] = self.negotiate_sizes
|
||||
self.protocol().do(NAWS).addCallbacks(self.do_naws, self.no_naws)
|
||||
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ class Ttype:
|
|||
stored on protocol.protocol_flags under the TTYPE key.
|
||||
|
||||
"""
|
||||
options = self.protocol.protocol_flags
|
||||
options = self.protocol().protocol_flags
|
||||
|
||||
if options and options.get("TTYPE", False) or self.ttype_step > 3:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue