Toggle menu
15
236
74
27.6K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Log globals/doc: Difference between revisions

From Kenshi Wiki
No edit summary
No edit summary
 
Line 14: Line 14:
}}</includeonly>
}}</includeonly>
<noinclude>
<noinclude>
[[Category:Module documentation pages]]
[[Category:Module documents]]
</noinclude>
</noinclude>

Latest revision as of 04:16, 10 March 2025

This module finds nil global variable use and adds the to the Lua log along with where they were read/written. This module is different from require('strict') as you can see all nil global variables that are being read/written to rather than only getting an error for the first problematic global variable. The arg variable is excluded.

See also

  • require('strict') - Creates error message for first encountered nil global read/write
Contents