perf[cs]: get protocol name in script

This commit is contained in:
godotg
2024-01-25 15:55:44 +08:00
parent d48777b1dd
commit 8fdc330f8d
2 changed files with 2 additions and 2 deletions
@@ -3,7 +3,7 @@ function Protocols.{}:protocolId()
end
function Protocols.{}:protocolName()
return Protocols.{}
return "{}"
end
function Protocols.{}:__tostring()
@@ -15,7 +15,7 @@ function {}:protocolId()
end
function {}:protocolName()
return {}
return "{}"
end
function {}:__tostring()