fix SPUDNET bug, and quite possibly other bugs

This commit is contained in:
2022-02-20 14:32:14 +00:00
parent a0702bb775
commit 383991c739
9 changed files with 50 additions and 19 deletions

View File

@@ -86,6 +86,8 @@ local Scope = {
RenameLocal = function(self, oldName, newName)
oldName = type(oldName) == 'string' and oldName or oldName.Name
self.name_map = self.name_map or {}
self.name_map[newName] = oldName
local found = false
local var = self:GetLocal(oldName)
if var then