mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-15 16:24:52 +09:00
Store bug fixes
This commit is contained in:
1 parent
382d664975
commit
f44ab9b44f
5 files changed
+32
-17
No files matched your search
@@ -304,14 +304,14 @@ function Warps.add_warp(force_name,surface,position,player_name,warp_name)
|
||||
warp_name = warp_name or 'New warp'
|
||||
|
||||
-- Get the existing warps for this force
|
||||
local warps = force_warps[force_name]
|
||||
if not warps then
|
||||
force_warps[force_name] = {}
|
||||
warps = force_warps[force_name]
|
||||
local warp_ids = force_warps[force_name]
|
||||
if not warp_ids then
|
||||
warp_ids = {}
|
||||
force_warps[force_name] = warp_ids
|
||||
end
|
||||
|
||||
-- Insert the warp id into the force warps
|
||||
table.insert(warps,warp_id)
|
||||
table.insert(warp_ids,warp_id)
|
||||
|
||||
-- Create the editing table
|
||||
local editing = {}
|
||||
|
||||
Reference in new issue
Block a user