This commit is contained in:
2025-07-30 12:47:49 +02:00
parent 2f450f7b9b
commit c038334e67
2 changed files with 20 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ import freeflowuniverse.herolib.core.playbook { PlayBook }
import freeflowuniverse.herolib.ui.console
pub fn play_git(args_ PlayArgs) ! {
pub fn play_git(args_ PlayArgs) !PlayBook {
mut args := args_
mut plbook := args.plbook or {
playbook.new(text: args.heroscript, path: args.heroscript_path)!
@@ -157,4 +157,6 @@ pub fn play_git(args_ PlayArgs) ! {
}
gs.load(true) // Force reload
}
return plbook
}