Skip to content

Commit

Permalink
woops forgot the is
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoengi authored Dec 26, 2024
1 parent 16a8418 commit 20fc613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/roulette_machine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
///Returns TRUE if the player bet correctly.
/obj/machinery/roulette/proc/check_win(bet_type, bet_amount, rolled_number)
var/actual_bet_number = text2num(bet_type) //Only returns the numeric bet types, AKA singles.
if(!null(actual_bet_number)) //This means we're playing singles
if(!isnull(actual_bet_number)) //This means we're playing singles
return rolled_number == actual_bet_number

switch(bet_type) //Otherwise, we are playing a "special" game, switch on all the cases so we can check.
Expand Down

0 comments on commit 20fc613

Please sign in to comment.