Skip to content

Cannot use globbing to import scripts #2795

Open
@BuddiesTV

Description

@BuddiesTV

What happened?

When importing scripts from other resources using the @ prefix, for e.g. server_script '@test_resource/test/*.lua' it just fail with the error Failed to load script @test_resource/test/*.lua

Expected result

Should be possible to use globbing

Reproduction steps

  1. Create resource
  2. Create another resource that imports from the first resource
  3. Error

Importancy

Slight inconvenience

Area(s)

FXServer, ScRT: Lua

Specific version(s)

Server v1.0.0.9875 win32

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ScRT: LuaIssues/PRs related to the Lua scripting runtimebugtriageNeeds a preliminary assessment to determine the urgency and required action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions