mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Merge branch 'tmj-dev' into milek-dev
This commit is contained in:
5
lua.cpp
5
lua.cpp
@@ -3,13 +3,10 @@
|
||||
#include "Event.h"
|
||||
#include "Logs.h"
|
||||
#include "MemCell.h"
|
||||
#include "World.h"
|
||||
#include "Driver.h"
|
||||
#include "lua_ffi.h"
|
||||
#include "simulation.h"
|
||||
|
||||
extern TWorld World;
|
||||
|
||||
lua::lua()
|
||||
{
|
||||
state = luaL_newstate();
|
||||
@@ -116,7 +113,7 @@ extern "C"
|
||||
EXPORT TIsolated* scriptapi_isolated_find(const char* name)
|
||||
{
|
||||
std::string str(name);
|
||||
TIsolated *isolated = TIsolated::Find(name, false);
|
||||
TIsolated *isolated = TIsolated::Find(name);
|
||||
if (isolated)
|
||||
return isolated;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user