03-24-2019, 08:21 PM
(This post was last modified: 03-24-2019, 08:24 PM by DerVVulfman.)
*ACK! I keep forgetting you go by that name in here!!!
And nope, that is not a double-post. There is a subtle difference between the two. Ruby 1.8 does not include the getbyte statement for the String class, so the 1.8 version contains the line:
However, since the later versions of Ruby does have the getbyte statement, the newer version of the script instead contains the line:
This minor change was pointed out by KK20 as below:
And nope, that is not a double-post. There is a subtle difference between the two. Ruby 1.8 does not include the getbyte statement for the String class, so the 1.8 version contains the line:
Code:
update_if_game_in_focus if MessageIntercept::Flag_Deactivate[0] == 1
Code:
update_if_game_in_focus if MessageIntercept::Flag_Deactivate.getbyte(0) == 1
This minor change was pointed out by KK20 as below:
KK20 at RPGMakerWeb Wrote:Oh right, forgot about that. You just use String#[] to get the byte. So it should be
Code:update_if_game_in_focus if MessageIntercept::Flag_Deactivate[0] == 1