mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
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…
x
Reference in New Issue
Block a user