mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 20:16:38 +09:00
Updated Warps List
This commit is contained in:
@@ -150,7 +150,7 @@ function Warps.make_warp_area(warp_id)
|
||||
local position = warp.position
|
||||
local posx = position.x
|
||||
local posy = position.y
|
||||
local radius = config.activation_range
|
||||
local radius = config.standard_proximity_radius
|
||||
local radius2 = radius^2
|
||||
|
||||
-- Get the tile that is being replaced, store.update not needed as we dont want it to trigger
|
||||
@@ -203,7 +203,7 @@ function Warps.remove_warp_area(warp_id)
|
||||
local warp = Store.get(warp_store,warp_id)
|
||||
local position = warp.position
|
||||
local surface = warp.surface
|
||||
local radius = config.activation_range
|
||||
local radius = config.standard_proximity_radius
|
||||
local radius2 = radius^2
|
||||
|
||||
-- Check that a warp area was created previously
|
||||
|
||||
@@ -333,7 +333,9 @@ Gui.element(function(event_trigger,parent)
|
||||
}
|
||||
|
||||
-- Set the frame style
|
||||
frame.style.padding = 2
|
||||
local frame_style = frame.style
|
||||
frame_style.padding = 2
|
||||
frame_style.minimal_width = 200
|
||||
|
||||
-- Draw the internal container
|
||||
local container =
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user