Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Make bool UseLua in Scripts do what it says #40

Open
Dazegambler opened this issue Sep 26, 2021 · 2 comments
Open

Make bool UseLua in Scripts do what it says #40

Dazegambler opened this issue Sep 26, 2021 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@Dazegambler
Copy link
Owner

No description provided.

@Dazegambler Dazegambler added this to the 0.X.0 milestone Sep 26, 2021
@Dazegambler
Copy link
Owner Author

i.e
UseLua = false means that ultrakit wont try to load Lua scripts and cause a Error

@Dazegambler Dazegambler added the enhancement New feature or request label Sep 26, 2021
@Hypatech
Copy link
Collaborator

It might be better to just check if UKScript is null and remove the need for the bool entirely

Especially since you can just do script?.Globals?.Get()?.Call to only call if the script and the global exists

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants