fixed typos

This commit is contained in:
mamoniot
2023-05-01 06:50:08 -04:00
parent 096163d0cb
commit f82243e7e8
2 changed files with 2 additions and 2 deletions

View File

@@ -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",

View File

@@ -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)