Skip to content

Commit

Permalink
Comment out minimap icon to prevent lagspikes
Browse files Browse the repository at this point in the history
might fix or at least improve #98
  • Loading branch information
kb173 committed Nov 6, 2021
1 parent ebb9571 commit d4b3ea9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions recursio-client/UI/MiniMapIcon.gd
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ func _ready():
$Sprite.texture = texture


func _process(_delta):
if visibility_mask:
_check_for_visibility()
# FIXME: Seems like this is really inefficient and causes lagspikes with heavy corrections.
# We either need to find a way to make it work better, or remove the minimap as per playtest feedback.
#func _process(_delta):
# if visibility_mask:
# _check_for_visibility()


func _check_for_visibility() -> void:
Expand Down

0 comments on commit d4b3ea9

Please sign in to comment.