diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-21 14:11:34 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-21 14:11:34 -0700 |
| commit | 4fd6b61a0074ea69f0ce3e11768e867d355307ac (patch) | |
| tree | 0a2f80fc106f0dbc334e1c338d0900906e34723e /nomsu.lua | |
| parent | 79ad6b07c1aa5f32b7d8481f2937fa02680c2937 (diff) | |
Fixed bug that caused files to get reloaded if they returned nil.
Diffstat (limited to 'nomsu.lua')
| -rw-r--r-- | nomsu.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -733,7 +733,7 @@ do if not file then self:error("File does not exist: " .. tostring(vars.filename)) end - self.loaded_files[vars.filename] = self:run(file:read('*a'), vars.filename) + self.loaded_files[vars.filename] = (self:run(file:read('*a'), vars.filename)) or true end return self.loaded_files[vars.filename] end) |
