Crash when using the drop_light(x) script command

I upgraded to KUL today and, while messing around in the demo, I found that if you create an event that gives a light to a player, or, if the player already has a light, forces the player to drop it, the game will crash with the message: 

"Script Game_Interpreter line 1411: Argument Error occured.

wrong number of arguments (1 for 0)

Not sure what this means.

Here is the script I have in my event:

$game_player.give_light("torch")

Wait 120 frames

$game_player.drop_light("torch")

Am I doing something wrong or using things incorrectly?
Yep! Just call $game_player.drop_light without any arguments (aka the parenthesis). When you want to give a light to some character your need to specify with light you're giving, but when you want them to drop a light, you don't need to specify. Thus, the correct way is:

$game_player.give_light("torch")

Wait 120 frames

$game_player.drop_light
Thanks! that did the trick. I had a feeling the problem was something simple  🤣

Original thread: https://forums.rpgmakerweb.com/threads/crash-when-using-the-drop_light-x-script-command.45754/