ID:1759876
 
(See the best response by Kaiochao.)
N/A


My game is having major problem which has been defined as a "Memory Problem." this never used to happen and has started happening after I have created a datum which was my card datum.

The only error I get when this occurs is this but is not related to the problem:
runtime error: Cannot read null.name proc name: Draw (/mob/proc/Draw) source file: Drawing.dm,12 usr: Dev (/mob) src: Dev (/mob) call stack: Dev (/mob): Draw(1) Draw (/obj/dueldisk/mainDeck): Click(null, "map.map1", "icon-x=20;icon-y=11;left=1;scr...")

Now apparently the name is null but there is no way it could be because the name has not been modified what so ever.

Additionally starts being jumpy like a drop in frame rate.
Best response
It's possible that you have an infinite loop. If you set world.loop_checks to 0 before, you should set it back to 1.

Also, if you post Draw() and the Click() that calls Draw(), it'd be possible to fix that runtime error.
Yeah you are correct that is set to 0 and I set it back to 1 but the same problem still occurs :/