Update text_on_map.py

This commit is contained in:
Ayush Saini 2023-05-28 21:17:44 +05:30 committed by GitHub
parent f93002d02e
commit 8423c959b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ class textonmap:
nextMap=ba.internal.get_foreground_host_session().get_next_game_description().evaluate()
except:
pass
top = top.replace("@IP", _ba.our_ip).replace("@PORT", _ba.our_port)
top = top.replace("@IP", _ba.our_ip).replace("@PORT", str(_ba.our_port))
self.index = 0
self.highlights = data['center highlights']["msg"]
self.left_watermark(left)