mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
Failsave for money command
This commit is contained in:
parent
4d5173fab4
commit
253e4b50f3
@ -330,7 +330,9 @@
|
||||
End If
|
||||
Case "money", "addmoney"
|
||||
Core.Player.Money += int(argument)
|
||||
|
||||
If Core.Player.Money < 0 Then
|
||||
Core.Player.Money = 0
|
||||
End If
|
||||
IsReady = True
|
||||
Case "removemoney"
|
||||
Core.Player.Money -= int(argument)
|
||||
|
Loading…
x
Reference in New Issue
Block a user