wiremod / advduplicator

Garry's Mod add-on that allows a player to save and load contraptions
http://www.wiremod.com
Apache License 2.0
67 stars 43 forks source link

When i try use adv dupe 2 it makes this error #83

Closed ghost closed 4 years ago

ghost commented 4 years ago

[Advanced Duplicator 2] lua/advdupe2/sv_file.lua:118: attempt to index field 'AdvDupe2' (a nil value)

  1. func - lua/advdupe2/sv_file.lua:118
    1. unknown - lua/includes/extensions/net.lua:32
TomyLobo commented 4 years ago

any other addons?

thegrb93 commented 4 years ago

Yeah its the same thing Divran mentioned. AdvDupe2 getting removed from the ply table. I'll put a reassignment in there too.

thegrb93 commented 4 years ago

https://github.com/wiremod/advdupe2/pull/263/files

TomyLobo commented 4 years ago

wait what, why is that even in there and not in a local, cleaned up with each player disconnect

thegrb93 commented 4 years ago

Because its easier that way

thegrb93 commented 4 years ago

Feel free to refactor it if you like.