CaravelGames / drod

The official public repository of Deadly Rooms of Death and DROD RPG
http://caravelgames.com
56 stars 17 forks source link

Check script completion after question answer processing #592

Closed Hypexion closed 4 months ago

Hypexion commented 4 months ago

If a non-visible character runs an End command after the player answers a question, the script does not correctly end. This is because post-question processing does not check if the script has been ended. Previously this would get picked up by the next monster processing pass, but changes to how characters are managed means this doesn't happen.

To fix this, a script end check has been added to answer processing.

Thread: https://forum.caravelgames.com/viewtopic.php?TopicID=46140