Player
Player copied to clipboard
Maniac Patch : Fix String Vars with ShowPicture
Added the following:
- Check if we're using a string variable with com.parameters[17]
- Set the name parameter to the String Variable
Fixed the following:
- When using a String Var with ShowPicture, it no longers crash the game with picture ID -1
Before: 😿
After: 😺
Thanks!
String Vars is a very recent implementation, I wonder if more commands can break when using it.
Well as you say that. I managed to misplace a "]" character. Fixed it, now it works!
@ToolMan2k thx again!
One suggestion:
Squashing commits like "fixing typos" or "remove debug/comments" always help shortening and maintaning the list of commits
Squashing commits like "fixing typos" or "remove debug/comments" always help shortening and maintaning the list of commits
Will do!
I fixed a bug and moved the commits into you other PR. thanks!