mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-10 04:08:17 -06:00
fixed typos
This commit is contained in:
@@ -48,7 +48,7 @@ function se_get_space_elevator_name(cache, surface)
|
||||
end
|
||||
|
||||
if not entity or not entity.valid then
|
||||
--Chaching failed, default to expensive lookup
|
||||
--Caching failed, default to expensive lookup
|
||||
entity = surface.find_entities_filtered({
|
||||
name = SE_ELEVATOR_STOP_PROTO_NAME,
|
||||
type = "train-stop",
|
||||
|
||||
@@ -849,7 +849,7 @@ local function register_tick()
|
||||
script.on_nth_tick(nil)
|
||||
--edge case catch to register both main and manager tick if they're scheduled to run on the same ticks
|
||||
if mod_settings.manager_enabled and mod_settings.manager_ups == mod_settings.tps and mod_settings.tps > DELTA then
|
||||
local nth_tick = ceil(60/mod_settings.tps)
|
||||
local nth_tick = ceil(60/mod_settings.tps)--[[@as uint]]
|
||||
script.on_nth_tick(nth_tick, function()
|
||||
tick(global, mod_settings)
|
||||
manager.tick(global)
|
||||
|
||||
Reference in New Issue
Block a user