Search found 41 matches
- Thu Sep 05, 2013 10:13 pm
- Forum: Support and Development
- Topic: Issues with Metatables and Logging
- Replies: 5
- Views: 2944
Issues with Metatables and Logging
Hello, I'm currently working on a project where I have a file Unit.lua containing a global table tUnit with tUnit.__index = tUnit set. tUnit is used to create table instances of units through passing a table through tUnit:new{args}. For some reason, using function tUnit:new(t) setmetatable(t, self) ...