Welcome to the Builder Academy

Question return; question

More
30 Apr 2016 16:44 #5809 by JTP
Replied by JTP on topic return; question
Ok good to know, after the portal trigger, the only issue i seem to have is that if noone plays, mud easily runs for days. But then there is being played and build. And buf switched goes over 1000 then at some point if i advance some from lvl 10 to 11, then the player advanced to lvl 12. But as long as buf switched is below 400, then advance works just fine. Doesnt crash, just gives more levels then i specify. Other then that things runs ok. But some memory leak on the code ?


An do was these returns needed at all ?
Code:
send_to_char(ch, "You fail...\r\n"); act("$n fails.\r\n", FALSE, ch, 0, 0, TO_ROOM); return; } else { send_to_char(ch, "You succedd!\r\n"); act("$n succeeds!\r\n", FALSE, ch, 0, 0, TO_ROOM); return; } return; <<--and here in the end ? }

Please Log in or Create an account to join the conversation.

Time to create page: 0.193 seconds