16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 15:09:19 +02:00

Fix for lowercase python state parameters

This commit is contained in:
2026-05-03 22:37:53 +02:00
parent cb4b6b9a4f
commit 9081282a47

View File

@@ -293,7 +293,7 @@ material_data::assign( std::string const &Replacableskin ) {
// check for the pipe method first // check for the pipe method first
if( contains( Replacableskin, '|' ) ) { if( contains( Replacableskin, '|' ) ) {
cParser nameparser( Replacableskin ); cParser nameparser( Replacableskin );
nameparser.getTokens( 4, true, "|" ); nameparser.getTokens( 4, false, "|" );
int skinindex = 0; int skinindex = 0;
std::string texturename; nameparser >> texturename; std::string texturename; nameparser >> texturename;
while( ( texturename != "" ) && ( skinindex < 4 ) ) { while( ( texturename != "" ) && ( skinindex < 4 ) ) {