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.
1 parent d9be76f commit 558b201Copy full SHA for 558b201
.sbproj
@@ -2,7 +2,7 @@
2
"Title": "Wirebox",
3
"Type": "addon",
4
"Org": "wiremod",
5
- "Ident": "wirebox",
+ "Ident": "wireboxaddon",
6
"Tags": "sandbox wirebox",
7
"Schema": 1,
8
"HasAssets": true,
wirelib/code/IWireOutputEntity.cs
@@ -62,10 +62,9 @@ public interface IWireOutputEntity : IWireEntity
62
public void WireTriggerOutput<T>( string outputName, T value )
63
{
64
var output = GetOutput( outputName );
65
- var type = output.type;
66
67
// return early if new value is the same as current value, so nothing should trigger
68
- if (output.value == (object) value)
+ if ( output.value.Equals( value ) )
69
return;
70
71
output.value = value;
0 commit comments