mirror of
https://github.com/freekode/mod-reward-played-time-improved.git
synced 2026-01-13 00:28:34 +00:00
indentation fix
This commit is contained in:
@@ -25,8 +25,8 @@ public:
|
|||||||
{
|
{
|
||||||
roll = urand(1, 1000); //Lets make a random number from 1 - 1000
|
roll = urand(1, 1000); //Lets make a random number from 1 - 1000
|
||||||
QueryResult result = CharacterDatabase.PQuery("SELECT item, quantity FROM reward_system WHERE roll = '%u'", roll);
|
QueryResult result = CharacterDatabase.PQuery("SELECT item, quantity FROM reward_system WHERE roll = '%u'", roll);
|
||||||
rewardtimer = urand(2 * HOUR*IN_MILLISECONDS, 4 * HOUR*IN_MILLISECONDS);
|
rewardtimer = urand(2 * HOUR*IN_MILLISECONDS, 4 * HOUR*IN_MILLISECONDS);
|
||||||
|
|
||||||
if (!result || player->isAFK())
|
if (!result || player->isAFK())
|
||||||
return;
|
return;
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user