07-14-2011, 05:41 AM
@gRaViJa
$game_system is initialized only after the new game/load game. so you can simply check if it's different from nil.
if $game_system != nil and $game_system.queue.size > 0 and @frame < 1
$game_system is initialized only after the new game/load game. so you can simply check if it's different from nil.
if $game_system != nil and $game_system.queue.size > 0 and @frame < 1