Stop player's money from being negative
This commit is contained in:
parent
73727edb6c
commit
65e9fddb6d
|
@ -238,6 +238,9 @@
|
|||
Case "removemoney"
|
||||
Core.Player.Money -= int(argument)
|
||||
|
||||
If Core.Player.Money < 0 Then
|
||||
Core.Player.Money = 0
|
||||
End If
|
||||
IsReady = True
|
||||
Case "setmovement"
|
||||
Dim movements() As String = argument.Split(CChar(","))
|
||||
|
|
Loading…
Reference in New Issue