mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 07:39:19 +02:00
Merge branch 'tmj-dev' into lua
This commit is contained in:
@@ -2532,7 +2532,7 @@ void TTrain::OnCommand_instrumentlighttoggle( TTrain *Train, command_data const
|
||||
// TODO: proper control deviced definition for the interiors, that doesn't hinge of presence of 3d submodels
|
||||
if( Train->ggInstrumentLightButton.SubModel == nullptr ) {
|
||||
if( Command.action == GLFW_PRESS ) {
|
||||
WriteLog( "Universal3 switch is missing, or wasn't defined" );
|
||||
WriteLog( "Instrument light switch is missing, or wasn't defined" );
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user