Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Godot Dialogue System 2

An advanced non-linear dialogue system for the free and open-source Godot engine. · By radmatt

[FIXED] next() being called when relevant input is pressed but no dialogue exists

A topic by Jawfish created May 24, 2020 Views: 145 Replies: 1
Viewing posts 1 to 2
(2 edits)

Not sure if I'm doing something wrong, but in line 337 of Dialogue.gd, next() is being called if I press ui_accept, ui_select, or continue_dialogue even if there is no dialogue (for example, clicking a button on my main menu), resulting in the game crashing. This can be reproduced using the example project and hitting the enter key before doing anything else. I'm currently working around it by returning out of next() if current_id == null, but I'm not sure if that will lead to other problems.

EDIT: Looks like it was fixed in the most recent build. I'll leave the topic up in case somebody else is using an older version and comes across the same issue; feel free to delete it at your discretion.

Developer(+1)

Yup, I got it fixed, sorry for the trouble.