Good vs. Evil

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
78 I had to rewrite a bit of my code a bit, only to revert it because derpy me. On the plus side I now used javascripts non-blocking code feature thingy
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
72 this doesn't work
Code:
if(result && ! err){
             delete result.playersJoined[req.userId]
            result.save()
}
while this does work
Code:
if(result && ! err){
            var test={}
            for(var key in result.playersJoined){
                test[key]=result.playersJoined[key]
            }
            delete test[req.userId]
            result.playersJoined=test
            result.save()
}
*jumps out the window*
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
65 because this thread ran out of names for my colonists and because a dromedary miscarried due to starvation even though there is plenty of food.
And with plenty of food I mean, more then a thousand potatoes, a thousand corn 900 rice and 1500 raspberries stored. it can also eat grass from the ground or my plants if it so desires >_<
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
67 suddenly 42 manhunting wargs appeared. Well......this... is going to be interesting to say the leas :p