made gates with no uiname not display info when clicked
This commit is contained in:
@ -189,10 +189,13 @@ package LuaLogic_Bricks
|
||||
%data = %hit.getDataBlock();
|
||||
if(%data.isLogic)
|
||||
{
|
||||
if(%data.isLogicInput)
|
||||
if(%data.isLogicInput){
|
||||
%data.Logic_onInput(%hit, %hitPos, %hitNorm, %client);
|
||||
else
|
||||
lualogic_send("GINFO;" @ %client @ ";" @ %hit);
|
||||
}else{
|
||||
if(%data.isLogicWire || %data.logicUIName!$=""){
|
||||
lualogic_send("GINFO;" @ %client @ ";" @ %hit);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user