mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-06 18:58:05 +00:00
Added compatibility hack to avoid executing the file twice.
This commit is contained in:
parent
3d89383678
commit
cddfc4cdfe
@ -1,5 +1,10 @@
|
||||
--! #textdomain wesnoth
|
||||
|
||||
-- Backward-compatibility hack to avoid executing the file twice due to
|
||||
-- old preload events. (To be removed in 1.11.) The hack assumes this
|
||||
-- file is the first one to be executed.
|
||||
if wesnoth.package["lua/helper.lua"] then return end
|
||||
|
||||
local helper = wesnoth.require "lua/helper.lua"
|
||||
|
||||
local function trim(s)
|
||||
|
Loading…
x
Reference in New Issue
Block a user