Stop player's money from being negative

This commit is contained in:
JappaWakka 2022-12-31 22:03:25 +01:00
parent 73727edb6c
commit 65e9fddb6d
1 changed files with 3 additions and 0 deletions

View File

@ -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(","))