View Full Version : CombatManager.setCustomTurnEnd
rhagelstrom
August 6th, 2022, 16:08
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
Moon Wizard
August 7th, 2022, 01:05
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
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.