-
Thread on level
Hi,
I'm currently working on a SD pub mod for my clan. I rewrote the stock zPAM 2.07 pub mod and added some cool function with libcod. One of them is a vote system. it works fine when the vote ends on the same round where it starts. But if u start a vote and suddenly the current round ends, the loop does not "survive" the next round. The thread runs on the level. Any idea how to solve that? Thanks in advance!
-
Cant, sd uses fast_restart, which restarts the script. You could store it in some game["hello"] vars and re-initiate on "round start" though.
-