ephread / inkgd

Implementation of inkle's Ink in pure GDScript for Godot, with editor support.
MIT License
305 stars 33 forks source link

Update ink_player.gd #59

Closed GreenCloversGames closed 2 years ago

GreenCloversGames commented 2 years ago

Replace "_create_story" and "_finialise_story_creation" with call_deferred versions, stopping errors from calling "create_story" method.

Checklist for this pull request

Description

Small fix for issue #58 regarding HTML exports.

ephread commented 2 years ago

Thanks for the PR! I based the fix on it (aeeceba) except I wrapped both function calls into the same deferred call.