stujones11 / shooter

First Person Shooter Mod for Minetest
Other
30 stars 18 forks source link

Use table.copy instead of using = syntax #40

Closed ClobberXD closed 5 years ago

ClobberXD commented 5 years ago

Using table.copy ensures that a new copy of the table is created. See https://github.com/stujones11/shooter/commit/88750a0353d604b745dfa26fbf7da0b7da1d8d43#commitcomment-33037187

stujones11 commented 5 years ago

You are probably right, it seems to work anyway and luacheck does not complain so I guess it is safe to merge. Thanks again.