Ignore:
Timestamp:
Sep 4, 2018, 2:33:52 PM (6 years ago)
Author:
alloc
Message:

More cleanup, allocation improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/AllocsCommands/Commands/Give.cs

    r325 r326  
    4747                                iv = new ItemValue (iv.type, true);
    4848
    49                                 int n = int.MinValue;
     49                                int n;
    5050                                if (!int.TryParse (_params [2], out n) || n <= 0) {
    5151                                        SdtdConsole.Instance.Output ("Amount is not an integer or not greater than zero.");
Note: See TracChangeset for help on using the changeset viewer.