diff options
| author | 1F616EMO <root@1f616emo.xyz> | 2026-02-06 13:29:29 +0800 |
|---|---|---|
| committer | orwell <orwell@bleipb.de> | 2026-03-22 17:34:55 +0100 |
| commit | 83c571032c9f91c78ac17965b355285b5ed60332 (patch) | |
| tree | f099e79c65eac5f7cc50f7527755de7e88fce26f /advtrains_line_automation/railwaytime.lua | |
| parent | 5368267878c49f2d1c79fbaa54b47c2cd563c9d4 (diff) | |
Add code headers to facilitate copy and paste
This patch fixes the issue that environment and approach callback mode
has to be set across copy and pastes through additional steps. By
adding headers in the following format:
-- ADVT-Environment-Name: tmp
-- ADVT-Approach-Callback-Mode: 1
These settings will be automatically set when clicking "Save". Headers
are only read when saved; therefore, codes can still modify the
approach callback mode (or any other variables that later uses this
header approach). This will speed up code copy and pastes, especially
when handling codes that require approach callback.
Signed-off-by: 1F616EMO <root@1f616emo.xyz>
Diffstat (limited to 'advtrains_line_automation/railwaytime.lua')
0 files changed, 0 insertions, 0 deletions
