Permalink
Browse files

Disable fog of war due to abysmal performance.

  • Loading branch information...
dfloer committed Nov 10, 2018
1 parent 5e90f69 commit 40824a33aff19939664dea537b2dda46b8964d9c
Showing with 1 addition and 1 deletion.
  1. +1 −1 cocos2d.py
@@ -503,7 +503,7 @@ def draw_fog(self):
self.fog_batch.remove(f"{k.q}_{k.r}_{k.s}")
except Exception:
pass
self.add(self.fog_batch)
# self.add(self.fog_batch) # Todo: figure out why fog drawing is so slow.
print("draw fog done.")


0 comments on commit 40824a3

Please sign in to comment.