fix(draw): clear data on each update to handle deconnexion

This commit is contained in:
swann
2019-05-01 19:45:17 +02:00
parent 3d8f3465f4
commit 757be4bc44

View File

@ -213,6 +213,9 @@ class HUD(object):
def draw(self):
if self.client:
self.d3d_items.clear()
self.d2d_items.clear()
# Draw clients
self.draw_clients()
self.draw_selected_object()