Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin fails to be enabled if no args (yet) #8

Open
WilliamTambellini opened this issue Dec 30, 2023 · 1 comment
Open

Plugin fails to be enabled if no args (yet) #8

WilliamTambellini opened this issue Dec 30, 2023 · 1 comment

Comments

@WilliamTambellini
Copy link

res://addons/multirun/Multirun.gd - Parse Error: Invalid operands "bool" and "PackedStringArray" for "and" operator.

var commands = _str_args_to_commands(args[0]) if add_custom_args && args else []

Easy to fix I guess:

	var commands = _str_args_to_commands(args[0]) if add_custom_args && !args.is_empty() else []
@WilliamTambellini WilliamTambellini changed the title Plugin fails to be enables if no args (yet) Plugin fails to be enabled if no args (yet) Dec 30, 2023
@cyraid
Copy link
Collaborator

cyraid commented Jul 22, 2024

@WilliamTambellini hi William! Sorry I didn't get notifications to this repo for some reason, feel free to ping me directly. Did you wanna submit a PR or is it bugging you a lot and you would like me to? (I currently don't work with godot anymore but I still am around to maintain for others :) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants