From 0c88197092ea21b4f79b7658c23f7ae83aa7a7ef Mon Sep 17 00:00:00 2001 From: Astralcircle <142503363+Astralcircle@users.noreply.github.com> Date: Tue, 21 Jul 2026 06:13:02 +0300 Subject: [PATCH 1/2] Don't lower key in setEditProperty Fixes #3661 --- lua/entities/gmod_wire_expression2/core/entity.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/lua/entities/gmod_wire_expression2/core/entity.lua b/lua/entities/gmod_wire_expression2/core/entity.lua index 0f62b16435..5bdb03b0d1 100644 --- a/lua/entities/gmod_wire_expression2/core/entity.lua +++ b/lua/entities/gmod_wire_expression2/core/entity.lua @@ -161,7 +161,6 @@ e2function number entity:setEditProperty(string key, string value) if not this.Editable then return self:throw("Tried to edit non-editable entity!", 0) end if not canProperty(self.player, this, "editentity") then return self:throw("Gamemode disallowed editing this entity!", 0) end - key = key:lower() local edit = this:GetEditingData()[key] if not edit then return self:throw("Property '" .. key .. "' does not exist on entity!", 0) end if not canEditVariable(this, self.player, key, value, edit) then return self:throw("Server disallowed editing this property!", 0) end From 1c677bc75f029e807778f46cf3614202551f0825 Mon Sep 17 00:00:00 2001 From: Astralcircle <142503363+Astralcircle@users.noreply.github.com> Date: Tue, 21 Jul 2026 06:22:43 +0300 Subject: [PATCH 2/2] Remove canproperty check --- lua/entities/gmod_wire_expression2/core/entity.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/lua/entities/gmod_wire_expression2/core/entity.lua b/lua/entities/gmod_wire_expression2/core/entity.lua index 5bdb03b0d1..737f128023 100644 --- a/lua/entities/gmod_wire_expression2/core/entity.lua +++ b/lua/entities/gmod_wire_expression2/core/entity.lua @@ -159,7 +159,6 @@ e2function number entity:setEditProperty(string key, string value) if not IsValid(this) then return self:throw("Invalid entity!", 0) end if not isOwner(self, this) then return self:throw("You do not own this entity!", 0) end if not this.Editable then return self:throw("Tried to edit non-editable entity!", 0) end - if not canProperty(self.player, this, "editentity") then return self:throw("Gamemode disallowed editing this entity!", 0) end local edit = this:GetEditingData()[key] if not edit then return self:throw("Property '" .. key .. "' does not exist on entity!", 0) end