Skip to content

uninstalling dcsext breaks MissionScripting.lua #4

Description

@jtoppins

As part of the install process there is a modification to the MissionScripting.lua game file.

  --Initialization script for the Mission lua Environment (SSE)

  dofile('Scripts/ScriptingSystem.lua')
+ dofile(lfs.writedir()..'Scripts/loadplugins.lua')

  --Sanitize Mission Scripting environment
  --This makes unavailable some unsecure functions.
  --Mission downloaded from server to client may contain potentialy harmful lua code that may use these functions.

This should be changed to test for the existence of the file otherwise it can break the file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions