mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-02-01 14:37:01 +01:00
Fix null reference exception.
This commit is contained in:
parent
2d34cff90d
commit
af1fd0bb12
@ -66,7 +66,7 @@ func _sdeapply(data : AuraData) -> void:
|
|||||||
data.owner.sremove_state_ref(i)
|
data.owner.sremove_state_ref(i)
|
||||||
|
|
||||||
func _con_aura_added(data : AuraData) -> void:
|
func _con_aura_added(data : AuraData) -> void:
|
||||||
if data.owner.get_character_skeleton() == null:
|
if data.owner.get_character_skeleton() == null or data.owner.get_character_skeleton().root_attach_point == null:
|
||||||
return
|
return
|
||||||
|
|
||||||
var bse : SpellEffectVisualBasic = visual_spell_effects as SpellEffectVisualBasic
|
var bse : SpellEffectVisualBasic = visual_spell_effects as SpellEffectVisualBasic
|
||||||
|
Loading…
Reference in New Issue
Block a user