fix typo in text brick updatee
This commit is contained in:
@ -36,8 +36,9 @@ function LogicGate_Keyboard_Data::LuaLogic_PressKey(%data, %brick, %key, %state)
|
||||
|
||||
function serverCmdLInputKey(%client, %key, %state){
|
||||
%brick = %client.Logic_InputKeyboard;
|
||||
if(isObject(%brick) && %client.Logic_InputActive){
|
||||
if(isObject(%client.player) && isObject(%brick) && %client.Logic_InputActive){
|
||||
%brick.getDatablock().LuaLogic_PressKey(%brick, %key, %state);
|
||||
if(%state) %client.player.playThread(3, plant);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user