-
Notifications
You must be signed in to change notification settings - Fork 258
Closed
Description
If the player is captured in a stealth challenge, the following error is shown:
SCRIPT ERROR: Invalid access to property or key 'points' on a base object of type 'Nil'.
at: PlayerHook.tessellate_string (res://scenes/game_elements/characters/player/components/player_hook.gd:213)
GDScript backtrace (most recent call first):
[0] tessellate_string (res://scenes/game_elements/characters/player/components/player_hook.gd:213)
[1] shatter_string (res://scenes/game_elements/characters/player/components/player_hook.gd:220)
[2] _on_player_mode_changed (res://scenes/game_elements/characters/player/components/player_hook.gd:109)
[3] _set_mode (res://scenes/game_elements/characters/player/components/player.gd:111)
[4] defeat (res://scenes/game_elements/characters/player/components/player.gd:242)
[5] _on_player_detected (res://scenes/game_logic/stealth_game_logic.gd:16)
[6] _update_player_awareness (res://scenes/game_elements/characters/enemies/guard/components/guard.gd:204)
[7] _process (res://scenes/game_elements/characters/enemies/guard/components/guard.gd:165)
added this fix
for this

Metadata
Metadata
Assignees
Type
Projects
Status
Done