Skip to content

Commit

Permalink
Update optimize.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Yogpod committed Jul 10, 2020
1 parent 63c35ea commit 6b79906
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/autorun/optimize.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ string.gmatch = memoize(string.gmatch)
string.gsub = memoize(string.gsub)
string.byte = memoize(string.byte)

game.GetMap = memoize(game.GetMap)

tonumber = memoize(tonumber)
tostring = memoize(tostring)
Color = memoize(Color)
Vector = memoize(Vector)
Angle = memoize(Angle)
Expand Down

0 comments on commit 6b79906

Please sign in to comment.