We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ad87fa4 + 180c5b2 commit 1c6fb43Copy full SHA for 1c6fb43
extendeddescriptions/pim/shared.lua
@@ -1,7 +1,8 @@
1
-AddInteraction(L("openDetDescLabel"), {
2
- runServer = false,
+AddInteraction(L("openDetDescLabel"), {
+ runServer = true,
3
shouldShow = function(_, target) return IsValid(target) end,
4
onRun = function(client, target)
5
+ if not SERVER then return end
6
net.Start("OpenDetailedDescriptions")
7
net.WriteEntity(target)
8
net.WriteString(target:getChar():getData("textDetDescData", nil) or L("openDetDescFallback"))
0 commit comments