cato-a / CoDaM_MiscMod

Official MiscMod for CoDaM in Call of Duty 1.1
BSD 3-Clause "New" or "Revised" License
15 stars 5 forks source link

Replace getunixtime() by seconds(). #16

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hi Cato CoDExtended had a seconds() function doing what getunixtime() does. See:

Accepting this pull request would make MiscMod compatible with both CoDExtended v20 and v21 (actually is only v20 because getunixtime() is not in v21).

The changes in this pull request have been tested.

cato-a commented 1 year ago

Hi

Changing to seconds() for total compatibility as some versions of codextended does not feature unixtime().

<20:05:44> "raphael": some servers who use fast downloading, so codextended v21, can't use the version with unixtime()
There is a separete .so file for regular servers, and another one for "1.1x servers"