Thread: CombatManager.setCustomTurnEnd
-
August 6th, 2022, 16:08 #1
CombatManager.setCustomTurnEnd
Seems odd but when I register for CombatManager.setCustomTurnEnd the callback function is called as expected at the end of the actors turn but also called and the end of the round with a nil value. End of turn has no context if the node is nil and so it seems like this is not intended behavior
-
August 7th, 2022, 01:05 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,539
It looks like that just never came up, because I always validate the incoming node value. I just pushed an update to the Test channel that cleans up that condition (end turn event with nil node value at start of round).
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks