Skip to content

Commit

Permalink
futil namespace update
Browse files Browse the repository at this point in the history
  • Loading branch information
fluxionary committed Oct 22, 2022
1 parent e5a691f commit d64f29c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/formspec.lua
Expand Up @@ -12,7 +12,7 @@ local get_safe_short_description = futil.get_safe_short_description
local player_is_admin = smartshop.util.player_is_admin

local formspec_pos = futil.formspec_pos
local truncate = string.truncate
local truncate = futil.string.truncate

local history_max = smartshop.settings.history_max

Expand Down
2 changes: 1 addition & 1 deletion api/shop_class.lua
Expand Up @@ -11,7 +11,7 @@ local player_is_admin = smartshop.util.player_is_admin
local string_to_pos = smartshop.util.string_to_pos

local class = futil.class1
local table_is_empty = table.is_empty
local table_is_empty = futil.table.is_empty

local api = smartshop.api

Expand Down
2 changes: 1 addition & 1 deletion compat/currency.lua
Expand Up @@ -6,7 +6,7 @@ local check_shop_add = util.check_shop_add_remainder
local check_shop_removed = util.check_shop_remove_remainder
local check_player_add = util.check_player_add_remainder
local check_player_removed = util.check_player_remove_remainder
local pairs_by_value = table.pairs_by_value
local pairs_by_value = futil.table.pairs_by_value

smartshop.currency = {}
local currency = smartshop.currency
Expand Down
2 changes: 1 addition & 1 deletion util.lua
Expand Up @@ -3,7 +3,7 @@ local v_new = vector.new
local error_behavior = smartshop.settings.error_behavior

local equals = futil.equals
local pairs_by_key = table.pairs_by_key
local pairs_by_key = futil.table.pairs_by_key

local util = {}

Expand Down

0 comments on commit d64f29c

Please sign in to comment.