mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
change effects animation calculation
This commit is contained in:
@@ -663,6 +663,7 @@ std::string LuaInterface::functionSourcePath()
|
||||
|
||||
// gets function source path
|
||||
lua_Debug ar;
|
||||
memset(&ar, 0, sizeof(ar));
|
||||
lua_getinfo(L, ">Sn", &ar);
|
||||
if(ar.source) {
|
||||
// scripts coming from files has source beginning with '@'
|
||||
|
Reference in New Issue
Block a user